mirror of
https://github.com/torvalds/linux.git
synced 2026-06-02 19:43:40 +02:00
staging: wilc1000: linux_mon.c: Remove unneeded braces
Remove braces around single statement blocks in if conditions as they are not required. Signed-off-by: Janani Ravichandran <janani.rvchndrn@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
24c6c29d85
commit
c611d48e65
|
|
@ -302,9 +302,8 @@ struct net_device *WILC_WFI_init_mon_interface(const char *name, struct net_devi
|
|||
struct WILC_WFI_mon_priv *priv;
|
||||
|
||||
/*If monitor interface is already initialized, return it*/
|
||||
if (wilc_wfi_mon) {
|
||||
if (wilc_wfi_mon)
|
||||
return wilc_wfi_mon;
|
||||
}
|
||||
|
||||
wilc_wfi_mon = alloc_etherdev(sizeof(struct WILC_WFI_mon_priv));
|
||||
if (!wilc_wfi_mon) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user