Skip to content

Commit e7cd121

Browse files
Red54gregkh
authored andcommitted
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) <[email protected]> Tested-by: Philipp Hortmann <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 1737aae commit e7cd121

File tree

4 files changed

+0
-1290
lines changed

4 files changed

+0
-1290
lines changed

drivers/staging/rtl8723bs/Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ r8723bs-y = \
4848
hal/HalHWImg8723B_RF.o \
4949
hal/HalPhyRf_8723B.o \
5050
os_dep/ioctl_cfg80211.o \
51-
os_dep/ioctl_linux.o \
5251
os_dep/mlme_linux.o \
5352
os_dep/osdep_service.o \
5453
os_dep/os_intfs.o \

drivers/staging/rtl8723bs/include/osdep_intf.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,6 @@ u32 rtw_start_drv_threads(struct adapter *padapter);
4747
void rtw_stop_drv_threads(struct adapter *padapter);
4848
void rtw_cancel_all_timer(struct adapter *padapter);
4949

50-
int rtw_ioctl(struct net_device *dev, struct ifreq *rq, int cmd);
51-
5250
int rtw_init_netdev_name(struct net_device *pnetdev, const char *ifname);
5351
struct net_device *rtw_init_netdev(struct adapter *padapter);
5452
void rtw_unregister_netdevs(struct dvobj_priv *dvobj);

0 commit comments

Comments
 (0)