Commit 202f66a8 authored by Tony Cho's avatar Tony Cho Committed by Greg Kroah-Hartman

staging: wilc1000: remove unnecessary inner braces

This patch removes unnecessary inner braces.
Signed-off-by: default avatarTony Cho <tony.cho@atmel.com>
Reviewed-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent a0261e0b
...@@ -724,23 +724,21 @@ static int sdio_read_size(uint32_t *size) ...@@ -724,23 +724,21 @@ static int sdio_read_size(uint32_t *size)
/** /**
* Read DMA count in words * Read DMA count in words
**/ **/
{ cmd.read_write = 0;
cmd.read_write = 0; cmd.function = 0;
cmd.function = 0; cmd.raw = 0;
cmd.raw = 0; cmd.address = 0xf2;
cmd.address = 0xf2; cmd.data = 0;
cmd.data = 0; g_sdio.sdio_cmd52(&cmd);
g_sdio.sdio_cmd52(&cmd); tmp = cmd.data;
tmp = cmd.data;
/* cmd.read_write = 0; */ /* cmd.read_write = 0; */
/* cmd.function = 0; */ /* cmd.function = 0; */
/* cmd.raw = 0; */ /* cmd.raw = 0; */
cmd.address = 0xf3; cmd.address = 0xf3;
cmd.data = 0; cmd.data = 0;
g_sdio.sdio_cmd52(&cmd); g_sdio.sdio_cmd52(&cmd);
tmp |= (cmd.data << 8); tmp |= (cmd.data << 8);
}
*size = tmp; *size = tmp;
return 1; return 1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment