This patch removes braces for single if statement blocks found by
checkpatch.pl
WARNING: braces {} are not necessary for single statement blocks

Signed-off-by: Chaehyun Lim <chaehyun....@gmail.com>
---
 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c 
b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
index 34df5da..fce7dac 100644
--- a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
+++ b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
@@ -3626,9 +3626,9 @@ int WILC_WFI_InitHostInt(struct net_device *net)
 
        sema_init(&(priv->hSemScanReq), 1);
        s32Error = host_int_init(&priv->hWILCWFIDrv);
-       if (s32Error) {
+       if (s32Error)
                PRINT_ER("Error while initializing hostinterface\n");
-       }
+
        return s32Error;
 }
 
@@ -3666,9 +3666,9 @@ int WILC_WFI_DeInitHostInt(struct net_device *net)
        }
        #endif
 
-       if (s32Error) {
+       if (s32Error)
                PRINT_ER("Error while deintializing host interface\n");
-       }
+
        return s32Error;
 }
 
-- 
2.5.1

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to