staging: wilc1000: remove block scope braces and fix indentation
authorChaehyun Lim <chaehyun.lim@gmail.com>
Mon, 4 Apr 2016 11:04:45 +0000 (20:04 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 29 Apr 2016 05:00:52 +0000 (22:00 -0700)
This patch removes unnecessary block scope braces and fix indentation of
the codes.

Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/host_interface.c

index 1e3742d74faea83c8b1f6ad5f31e71fdf176de26..b4f16fec9a54875051df6b4bad5c340ebfb652fb 100644 (file)
@@ -783,13 +783,11 @@ static s32 Handle_Scan(struct wilc_vif *vif,
                u32WidsCount++;
        }
 
-       {
-               strWIDList[u32WidsCount].id = WID_INFO_ELEMENT_PROBE;
-               strWIDList[u32WidsCount].type = WID_BIN_DATA;
-               strWIDList[u32WidsCount].val = pstrHostIFscanAttr->ies;
-               strWIDList[u32WidsCount].size = pstrHostIFscanAttr->ies_len;
-               u32WidsCount++;
-       }
+       strWIDList[u32WidsCount].id = WID_INFO_ELEMENT_PROBE;
+       strWIDList[u32WidsCount].type = WID_BIN_DATA;
+       strWIDList[u32WidsCount].val = pstrHostIFscanAttr->ies;
+       strWIDList[u32WidsCount].size = pstrHostIFscanAttr->ies_len;
+       u32WidsCount++;
 
        strWIDList[u32WidsCount].id = WID_SCAN_TYPE;
        strWIDList[u32WidsCount].type = WID_CHAR;