staging: wilc1000: wilc_wfi_netdevice.c: remove unused codes
authorChaehyun Lim <chaehyun.lim@gmail.com>
Tue, 23 Jun 2015 00:17:45 +0000 (09:17 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 7 Jul 2015 02:28:44 +0000 (19:28 -0700)
Remove if statement that has no any codes.

Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/wilc_wfi_netdevice.c

index 478cd2bcfea07c7a0449d35fb3cdf45521b3e1bc..d5facb4e55d936e03e9c4deb246819d27906a7a1 100644 (file)
@@ -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;