Skip to content

Commit a520b49

Browse files
Maya Erezkvalo
authored andcommitted
wil6210: remove ioctl interface
Wireless drivers should not be using ioctl interface, hence remove this interface for wil6210 driver. Signed-off-by: Maya Erez <[email protected]> Signed-off-by: Kalle Valo <[email protected]>
1 parent fe9ee51 commit a520b49

File tree

5 files changed

+0
-277
lines changed

5 files changed

+0
-277
lines changed

drivers/net/wireless/ath/wil6210/Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ wil6210-y += interrupt.o
1010
wil6210-y += txrx.o
1111
wil6210-y += debug.o
1212
wil6210-y += rx_reorder.o
13-
wil6210-y += ioctl.o
1413
wil6210-y += fw.o
1514
wil6210-y += pm.o
1615
wil6210-y += pmc.o

drivers/net/wireless/ath/wil6210/ioctl.c

Lines changed: 0 additions & 180 deletions
This file was deleted.

drivers/net/wireless/ath/wil6210/netdev.c

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -42,20 +42,12 @@ static int wil_stop(struct net_device *ndev)
4242
return wil_down(wil);
4343
}
4444

45-
static int wil_do_ioctl(struct net_device *ndev, struct ifreq *ifr, int cmd)
46-
{
47-
struct wil6210_priv *wil = ndev_to_wil(ndev);
48-
49-
return wil_ioctl(wil, ifr->ifr_data, cmd);
50-
}
51-
5245
static const struct net_device_ops wil_netdev_ops = {
5346
.ndo_open = wil_open,
5447
.ndo_stop = wil_stop,
5548
.ndo_start_xmit = wil_start_xmit,
5649
.ndo_set_mac_address = eth_mac_addr,
5750
.ndo_validate_addr = eth_validate_addr,
58-
.ndo_do_ioctl = wil_do_ioctl,
5951
};
6052

6153
static int wil6210_netdev_poll_rx(struct napi_struct *napi, int budget)

drivers/net/wireless/ath/wil6210/wil6210.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -977,7 +977,6 @@ void wil6210_unmask_irq_rx(struct wil6210_priv *wil);
977977

978978
int wil_iftype_nl2wmi(enum nl80211_iftype type);
979979

980-
int wil_ioctl(struct wil6210_priv *wil, void __user *data, int cmd);
981980
int wil_request_firmware(struct wil6210_priv *wil, const char *name,
982981
bool load);
983982
bool wil_fw_verify_file_exists(struct wil6210_priv *wil, const char *name);

include/uapi/linux/wil6210_uapi.h

Lines changed: 0 additions & 87 deletions
This file was deleted.

0 commit comments

Comments
 (0)