mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-25 11:55:37 +00:00
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:
parent
244d31b572
commit
f1fe9c435d
1 changed files with 4 additions and 4 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue