From: Sergio Paracuellos Date: Mon, 23 Apr 2018 13:44:53 +0000 (+0200) Subject: staging: ks7010: remove two fields of ks_wlan_private struct X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=e18d13a7bc3289a3453bc554a1443dc0c0bad9ed;p=openwrt%2Fstaging%2Fblogic.git 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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/ks7010/ks_wlan.h b/drivers/staging/ks7010/ks_wlan.h index 52de44866d53..a4d03f967cc5 100644 --- a/drivers/staging/ks7010/ks_wlan.h +++ b/drivers/staging/ks7010/ks_wlan.h @@ -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;