staging: rtl8723bs: Remove ioctl interface
Wireless drivers should not use the ioctl interface, so remove this interface for the rtl8723bs driver. (found by code inspection) Signed-off-by: 谢致邦 (XIE Zhibang) <Yeking@Red54.com> Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> Link: https://lore.kernel.org/r/tencent_E4A835D41FF1F35C7BDFCF4EA0136D548F06@qq.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>pull/1134/merge
parent
1737aaefa3
commit
e7cd121cbf
|
|
@ -48,7 +48,6 @@ r8723bs-y = \
|
|||
hal/HalHWImg8723B_RF.o \
|
||||
hal/HalPhyRf_8723B.o \
|
||||
os_dep/ioctl_cfg80211.o \
|
||||
os_dep/ioctl_linux.o \
|
||||
os_dep/mlme_linux.o \
|
||||
os_dep/osdep_service.o \
|
||||
os_dep/os_intfs.o \
|
||||
|
|
|
|||
|
|
@ -47,8 +47,6 @@ u32 rtw_start_drv_threads(struct adapter *padapter);
|
|||
void rtw_stop_drv_threads(struct adapter *padapter);
|
||||
void rtw_cancel_all_timer(struct adapter *padapter);
|
||||
|
||||
int rtw_ioctl(struct net_device *dev, struct ifreq *rq, int cmd);
|
||||
|
||||
int rtw_init_netdev_name(struct net_device *pnetdev, const char *ifname);
|
||||
struct net_device *rtw_init_netdev(struct adapter *padapter);
|
||||
void rtw_unregister_netdevs(struct dvobj_priv *dvobj);
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load Diff
|
|
@ -407,7 +407,6 @@ static const struct net_device_ops rtw_netdev_ops = {
|
|||
.ndo_select_queue = rtw_select_queue,
|
||||
.ndo_set_mac_address = rtw_net_set_mac_address,
|
||||
.ndo_get_stats = rtw_net_get_stats,
|
||||
.ndo_do_ioctl = rtw_ioctl,
|
||||
};
|
||||
|
||||
int rtw_init_netdev_name(struct net_device *pnetdev, const char *ifname)
|
||||
|
|
|
|||
Loading…
Reference in New Issue