From: Sergio Paracuellos Date: Tue, 24 Apr 2018 13:50:01 +0000 (+0200) Subject: staging: ks7010: remove duplicated ks_wlan_handler_def declaration X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=f445594240fb18a43aebed7f0ce917c09e9dd87a;p=openwrt%2Fstaging%2Fblogic.git staging: ks7010: remove duplicated ks_wlan_handler_def declaration This declaration is declared twice so just remove this one because the other one is the one which contains static struct initializers. Signed-off-by: Sergio Paracuellos Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/ks7010/ks_wlan_net.c b/drivers/staging/ks7010/ks_wlan_net.c index a9fdf25b45c0..81d66ac898c6 100644 --- a/drivers/staging/ks7010/ks_wlan_net.c +++ b/drivers/staging/ks7010/ks_wlan_net.c @@ -43,9 +43,6 @@ struct wep_key { u8 key[16]; /* 40-bit and 104-bit keys */ }; -/* List of Wireless Handlers (new API) */ -static const struct iw_handler_def ks_wlan_handler_def; - /* * function prototypes */