staging: ks7010: remove two fields of ks_wlan_private struct
authorSergio Paracuellos <sergio.paracuellos@gmail.com>
Mon, 23 Apr 2018 13:44:53 +0000 (15:44 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 25 Apr 2018 13:47:24 +0000 (15:47 +0200)
This commit removes l2_dev and l2_fd fields of ks_wlan_private
struct because they are not being used at all.

Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ks7010/ks_wlan.h

index 52de448..a4d03f9 100644 (file)
@@ -454,8 +454,6 @@ struct ks_wlan_private {
        u8 scan_ssid[IW_ESSID_MAX_SIZE + 1];
        struct local_gain gain;
 #ifdef WPS
-       struct net_device *l2_dev;
-       int l2_fd;
        struct wps_status wps;
 #endif /* WPS */
        u8 sleep_mode;