Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

wifi: wilc1000: Remove unused declarations

Commit 8399918f3056 ("staging: wilc1000: use RCU list to maintain vif interfaces list")
removed wilc_get_interface() but not its declaration.
Commit 9bc061e88054 ("staging: wilc1000: added support to dynamically add/remove interfaces")
declared but never implemented wilc_cfg_alloc() and wilc_netdev_interface().

Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20230819102100.13720-1-yuehaibing@huawei.com

authored by

Yue Haibing and committed by
Kalle Valo
c4125bf8 35a7a1ce

-4
-4
drivers/net/wireless/microchip/wilc1000/cfg80211.h
··· 8 8 #define WILC_CFG80211_H 9 9 #include "netdev.h" 10 10 11 - struct wiphy *wilc_cfg_alloc(void); 12 11 int wilc_cfg80211_init(struct wilc **wilc, struct device *dev, int io_type, 13 12 const struct wilc_hif_func *ops); 14 13 struct wilc *wilc_create_wiphy(struct device *dev); 15 14 void wilc_deinit_host_int(struct net_device *net); 16 15 int wilc_init_host_int(struct net_device *net); 17 16 void wilc_wfi_monitor_rx(struct net_device *mon_dev, u8 *buff, u32 size); 18 - struct wilc_vif *wilc_netdev_interface(struct wilc *wl, const char *name, 19 - enum nl80211_iftype type); 20 17 void wilc_wfi_deinit_mon_interface(struct wilc *wl, bool rtnl_locked); 21 18 struct net_device *wilc_wfi_init_mon_interface(struct wilc *wl, 22 19 const char *name, ··· 21 24 void wilc_update_mgmt_frame_registrations(struct wiphy *wiphy, 22 25 struct wireless_dev *wdev, 23 26 struct mgmt_frame_regs *upd); 24 - struct wilc_vif *wilc_get_interface(struct wilc *wl); 25 27 struct wilc_vif *wilc_get_wl_to_vif(struct wilc *wl); 26 28 void wlan_deinit_locks(struct wilc *wilc); 27 29 #endif