Skip to content

Commit

Permalink
wil6210: remove ioctl interface
Browse files Browse the repository at this point in the history
Wireless drivers should not be using ioctl interface,
hence remove this interface for wil6210 driver.

Signed-off-by: Maya Erez <qca_merez@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
  • Loading branch information
Maya Erez authored and Kalle Valo committed Jun 21, 2017
1 parent fe9ee51 commit a520b49
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 277 deletions.
1 change: 0 additions & 1 deletion drivers/net/wireless/ath/wil6210/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ wil6210-y += interrupt.o
wil6210-y += txrx.o
wil6210-y += debug.o
wil6210-y += rx_reorder.o
wil6210-y += ioctl.o
wil6210-y += fw.o
wil6210-y += pm.o
wil6210-y += pmc.o
Expand Down
180 changes: 0 additions & 180 deletions drivers/net/wireless/ath/wil6210/ioctl.c

This file was deleted.

8 changes: 0 additions & 8 deletions drivers/net/wireless/ath/wil6210/netdev.c
Original file line number Diff line number Diff line change
Expand Up @@ -42,20 +42,12 @@ static int wil_stop(struct net_device *ndev)
return wil_down(wil);
}

static int wil_do_ioctl(struct net_device *ndev, struct ifreq *ifr, int cmd)
{
struct wil6210_priv *wil = ndev_to_wil(ndev);

return wil_ioctl(wil, ifr->ifr_data, cmd);
}

static const struct net_device_ops wil_netdev_ops = {
.ndo_open = wil_open,
.ndo_stop = wil_stop,
.ndo_start_xmit = wil_start_xmit,
.ndo_set_mac_address = eth_mac_addr,
.ndo_validate_addr = eth_validate_addr,
.ndo_do_ioctl = wil_do_ioctl,
};

static int wil6210_netdev_poll_rx(struct napi_struct *napi, int budget)
Expand Down
1 change: 0 additions & 1 deletion drivers/net/wireless/ath/wil6210/wil6210.h
Original file line number Diff line number Diff line change
Expand Up @@ -977,7 +977,6 @@ void wil6210_unmask_irq_rx(struct wil6210_priv *wil);

int wil_iftype_nl2wmi(enum nl80211_iftype type);

int wil_ioctl(struct wil6210_priv *wil, void __user *data, int cmd);
int wil_request_firmware(struct wil6210_priv *wil, const char *name,
bool load);
bool wil_fw_verify_file_exists(struct wil6210_priv *wil, const char *name);
Expand Down
87 changes: 0 additions & 87 deletions include/uapi/linux/wil6210_uapi.h

This file was deleted.

0 comments on commit a520b49

Please sign in to comment.