From e18d13a7bc3289a3453bc554a1443dc0c0bad9ed Mon Sep 17 00:00:00 2001 From: Sergio Paracuellos Date: Mon, 23 Apr 2018 15:44:53 +0200 Subject: [PATCH] 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 --- drivers/staging/ks7010/ks_wlan.h | 2 -- 1 file changed, 2 deletions(-) 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; -- 2.30.2