From: Chaehyun Lim Date: Tue, 23 Jun 2015 00:17:45 +0000 (+0900) Subject: staging: wilc1000: wilc_wfi_netdevice.c: remove unused codes X-Git-Tag: v4.9.8~3706^2~765 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5927139ab52ef90232bd2578836ce36e5798920d;p=platform%2Fkernel%2Flinux-rpi3.git staging: wilc1000: wilc_wfi_netdevice.c: remove unused codes Remove if statement that has no any codes. 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 478cd2b..d5facb4 100644 --- a/drivers/staging/wilc1000/wilc_wfi_netdevice.c +++ b/drivers/staging/wilc1000/wilc_wfi_netdevice.c @@ -906,9 +906,6 @@ int WILC_WFI_InitModule(void) priv[0] = netdev_priv(WILC_WFI_devs[0]); priv[1] = netdev_priv(WILC_WFI_devs[1]); - if (priv[1]->dev->ieee80211_ptr->wiphy->interface_modes && BIT(NL80211_IFTYPE_MONITOR)) { - - } priv[0]->bCfgScanning = false; priv[0]->u32RcvdChCount = 0;