From: Chaehyun Lim Date: Mon, 22 Jun 2015 04:08:13 +0000 (+0900) Subject: staging: wilc1000: wilc_wfi_netdevice.c: remove braces for single statement block X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=55229a56bb9e6f7f9dce36099b1045deb73409f1;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git staging: wilc1000: wilc_wfi_netdevice.c: remove braces for single statement block Fix checkpatch warning found by checkpatch.pl WARNING: braces {} are not necessary for single statement blocks Signed-off-by: Chaehyun Lim Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/wilc1000/wilc_wfi_netdevice.c b/drivers/staging/wilc1000/wilc_wfi_netdevice.c index 9da7674602e1..039e21f6caf6 100644 --- a/drivers/staging/wilc1000/wilc_wfi_netdevice.c +++ b/drivers/staging/wilc1000/wilc_wfi_netdevice.c @@ -931,10 +931,8 @@ int WILC_WFI_InitModule(void) /* ret = host_int_init(&priv[0]->hWILCWFIDrv); */ /*copy handle to the other driver*/ /* priv[1]->hWILCWFIDrv = priv[0]->hWILCWFIDrv; */ - if (ret) { + if (ret) PRINT_ER("Error Init Driver\n"); - } - out: if (ret)