diff options
author | Tim Collier <osdevtc@gmail.com> | 2018-08-28 20:26:12 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-09-10 11:24:23 +0200 |
commit | 8627995cf711ed0e9ff84cf34b5b389fa01fa4c9 (patch) | |
tree | 1502fdea2906976a29c942e4abb5bbef96574c39 /drivers/staging/wlan-ng/p80211netdev.c | |
parent | staging: rtl8188eu: remove unnecessary parentheses (diff) | |
download | linux-dev-8627995cf711ed0e9ff84cf34b5b389fa01fa4c9.tar.xz linux-dev-8627995cf711ed0e9ff84cf34b5b389fa01fa4c9.zip |
staging: wlan-ng: remove redundant code in "#if 0" blocks
Remove two blocks of code that checkpatch identified as redundant
because they were enclosed in "#if...#endif". In the case of
prism2fw.c the associated "TODO" comment was retained.
Signed-off-by: Tim Collier <osdevtc@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/wlan-ng/p80211netdev.c')
-rw-r--r-- | drivers/staging/wlan-ng/p80211netdev.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/staging/wlan-ng/p80211netdev.c b/drivers/staging/wlan-ng/p80211netdev.c index 8258cb5a335d..ae98ac1dd434 100644 --- a/drivers/staging/wlan-ng/p80211netdev.c +++ b/drivers/staging/wlan-ng/p80211netdev.c @@ -927,10 +927,6 @@ static int p80211_rx_typedrop(struct wlandevice *wlandev, u16 fc) /* Classify frame, increment counter */ ftype = WLAN_GET_FC_FTYPE(fc); fstype = WLAN_GET_FC_FSTYPE(fc); -#if 0 - netdev_dbg(wlandev->netdev, "rx_typedrop : ftype=%d fstype=%d.\n", - ftype, fstype); -#endif switch (ftype) { case WLAN_FTYPE_MGMT: if ((wlandev->netdev->flags & IFF_PROMISC) || |