staging: wilc1000: remove braces for single statement blocks
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.lim@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
244d31b572
commit
f1fe9c435d
@@ -3627,9 +3627,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;
|
||||
}
|
||||
|
||||
@@ -3667,9 +3667,9 @@ int WILC_WFI_DeInitHostInt(struct net_device *net)
|
||||
}
|
||||
#endif
|
||||
|
||||
if (s32Error) {
|
||||
if (s32Error)
|
||||
PRINT_ER("Error while deintializing host interface\n");
|
||||
}
|
||||
|
||||
return s32Error;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user