staging: wilc1000: remove unnecessary inner braces
authorTony Cho <tony.cho@atmel.com>
Tue, 28 Jul 2015 08:47:35 +0000 (17:47 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 29 Jul 2015 20:57:24 +0000 (13:57 -0700)
This patch removes unnecessary inner braces.

Signed-off-by: Tony Cho <tony.cho@atmel.com>
Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/wilc_sdio.c

index fd87add7c4cba07468511ae495915944e94aa0bf..5a18148a593e3f2b6416138b6fee4a95bc6b78cc 100644 (file)
@@ -724,23 +724,21 @@ static int sdio_read_size(uint32_t *size)
        /**
         *      Read DMA count in words
         **/
-       {
-               cmd.read_write = 0;
-               cmd.function = 0;
-               cmd.raw = 0;
-               cmd.address = 0xf2;
-               cmd.data = 0;
-               g_sdio.sdio_cmd52(&cmd);
-               tmp = cmd.data;
+       cmd.read_write = 0;
+       cmd.function = 0;
+       cmd.raw = 0;
+       cmd.address = 0xf2;
+       cmd.data = 0;
+       g_sdio.sdio_cmd52(&cmd);
+       tmp = cmd.data;
 
-               /* cmd.read_write = 0; */
-               /* cmd.function = 0; */
-               /* cmd.raw = 0; */
-               cmd.address = 0xf3;
-               cmd.data = 0;
-               g_sdio.sdio_cmd52(&cmd);
-               tmp |= (cmd.data << 8);
-       }
+       /* cmd.read_write = 0; */
+       /* cmd.function = 0; */
+       /* cmd.raw = 0; */
+       cmd.address = 0xf3;
+       cmd.data = 0;
+       g_sdio.sdio_cmd52(&cmd);
+       tmp |= (cmd.data << 8);
 
        *size = tmp;
        return 1;