Commit 5f3e5405 authored by Paul Bolle's avatar Paul Bolle Committed by David S. Miller

i4l: minor cleanups

Minor cleanups, either made possible or obvious after commit d700555b (I4l:
convert to net_device_ops).
Signed-off-by: default avatarPaul Bolle <pebolle@tiscali.nl>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent bae58431
...@@ -2515,7 +2515,6 @@ static const struct net_device_ops isdn_netdev_ops = { ...@@ -2515,7 +2515,6 @@ static const struct net_device_ops isdn_netdev_ops = {
.ndo_stop = isdn_net_close, .ndo_stop = isdn_net_close,
.ndo_do_ioctl = isdn_net_ioctl, .ndo_do_ioctl = isdn_net_ioctl,
.ndo_validate_addr = NULL,
.ndo_start_xmit = isdn_net_start_xmit, .ndo_start_xmit = isdn_net_start_xmit,
.ndo_get_stats = isdn_net_get_stats, .ndo_get_stats = isdn_net_get_stats,
.ndo_tx_timeout = isdn_net_tx_timeout, .ndo_tx_timeout = isdn_net_tx_timeout,
...@@ -2530,12 +2529,8 @@ static void _isdn_setup(struct net_device *dev) ...@@ -2530,12 +2529,8 @@ static void _isdn_setup(struct net_device *dev)
ether_setup(dev); ether_setup(dev);
dev->flags = IFF_NOARP | IFF_POINTOPOINT;
/* Setup the generic properties */ /* Setup the generic properties */
dev->mtu = 1500;
dev->flags = IFF_NOARP|IFF_POINTOPOINT; dev->flags = IFF_NOARP|IFF_POINTOPOINT;
dev->type = ARPHRD_ETHER;
dev->addr_len = ETH_ALEN;
dev->header_ops = NULL; dev->header_ops = NULL;
dev->netdev_ops = &isdn_netdev_ops; dev->netdev_ops = &isdn_netdev_ops;
......
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