staging: ks7010: remove two fields of ks_wlan_private struct

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>
This commit is contained in:
Sergio Paracuellos
2018-04-23 15:44:53 +02:00
committed by Greg Kroah-Hartman
parent b684a8c5f3
commit e18d13a7bc

View 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;