Skip to content

Commit 8bfb367

Browse files
committed
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>
1 parent c5549ee commit 8bfb367

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

‎net/wireless/wext-core.c‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -957,9 +957,6 @@ static int wireless_process_ioctl(struct net *net, struct ifreq *ifr,
957957
else if (private)
958958
return private(dev, iwr, cmd, info, handler);
959959
}
960-
/* Old driver API : call driver ioctl handler */
961-
if (dev->netdev_ops->ndo_do_ioctl)
962-
return dev->netdev_ops->ndo_do_ioctl(dev, ifr, cmd);
963960
return -EOPNOTSUPP;
964961
}
965962

0 commit comments

Comments
 (0)