Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c611d48e authored by Janani Ravichandran's avatar Janani Ravichandran Committed by Greg Kroah-Hartman
Browse files

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: default avatarJanani Ravichandran <janani.rvchndrn@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 24c6c29d
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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) {