Skip to content

Commit

Permalink
wireless: wext: remove ndo_do_ioctl fallback
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
jmberg-intel committed Jun 14, 2017
1 parent c5549ee commit 8bfb367
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions net/wireless/wext-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 8bfb367

Please sign in to comment.