Commit 15a4d213 authored by Neil Horman's avatar Neil Horman Committed by Greg Kroah-Hartman

staging: unisys: remove visornic_ioctl

All it does is return no supported.  Removing the function entirely
accomplishes the same thing
Signed-off-by: default avatarNeil Horman <nhorman@redhat.com>
Signed-off-by: default avatarBenjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent a42ba26c
...@@ -977,21 +977,6 @@ visornic_get_stats(struct net_device *netdev) ...@@ -977,21 +977,6 @@ visornic_get_stats(struct net_device *netdev)
return &devdata->net_stats; return &devdata->net_stats;
} }
/**
* visornic_ioctl - ioctl function for netdevice.
* @netdev: netdevice
* @ifr: ignored
* @cmd: ignored
*
* Currently not supported.
* Returns EOPNOTSUPP
*/
static int
visornic_ioctl(struct net_device *netdev, struct ifreq *ifr, int cmd)
{
return -EOPNOTSUPP;
}
/** /**
* visornic_change_mtu - changes mtu of device. * visornic_change_mtu - changes mtu of device.
* @netdev: netdevice * @netdev: netdevice
...@@ -1442,7 +1427,6 @@ static const struct net_device_ops visornic_dev_ops = { ...@@ -1442,7 +1427,6 @@ static const struct net_device_ops visornic_dev_ops = {
.ndo_stop = visornic_close, .ndo_stop = visornic_close,
.ndo_start_xmit = visornic_xmit, .ndo_start_xmit = visornic_xmit,
.ndo_get_stats = visornic_get_stats, .ndo_get_stats = visornic_get_stats,
.ndo_do_ioctl = visornic_ioctl,
.ndo_change_mtu = visornic_change_mtu, .ndo_change_mtu = visornic_change_mtu,
.ndo_tx_timeout = visornic_xmit_timeout, .ndo_tx_timeout = visornic_xmit_timeout,
.ndo_set_rx_mode = visornic_set_multi, .ndo_set_rx_mode = visornic_set_multi,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment