OSDN Git Service

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 478cd2b..d5facb4 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;