diff options
author | Johannes Berg <johannes.berg@intel.com> | 2017-06-14 10:17:38 +0300 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2017-06-14 10:17:48 +0300 |
commit | 8bfb3676606454ffec836f56c5dc3e69dfc0956a (patch) | |
tree | 7486a7588fb4ec88ab2d515c798ee3f6d95b640a /net | |
parent | c5549ee40112f2511a794c9aad7eb6ac5f18b0eb (diff) | |
download | linux-8bfb3676606454ffec836f56c5dc3e69dfc0956a.tar.xz |
wireless: wext: remove ndo_do_ioctl fallback
There are no longer any drivers (in the tree proper, I didn't
check all the staging drivers) that take WEXT ioctls through
this API, the only remaining ones that even have ndo_do_ioctl
are using it only for private ioctls.
Therefore, we can remove this call.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net')
-rw-r--r-- | net/wireless/wext-core.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/net/wireless/wext-core.c b/net/wireless/wext-core.c index 1a4db6790e20..24ba8a99b946 100644 --- a/net/wireless/wext-core.c +++ b/net/wireless/wext-core.c @@ -957,9 +957,6 @@ static int wireless_process_ioctl(struct net *net, struct ifreq *ifr, else if (private) return private(dev, iwr, cmd, info, handler); } - /* Old driver API : call driver ioctl handler */ - if (dev->netdev_ops->ndo_do_ioctl) - return dev->netdev_ops->ndo_do_ioctl(dev, ifr, cmd); return -EOPNOTSUPP; } |