aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorPaul Bolle <pebolle@tiscali.nl>2009-01-14 17:42:21 -0500
committerDavid S. Miller <davem@davemloft.net>2009-01-14 17:42:21 -0500
commit5f3e54057c62e5f654c66e4ce1172993f67fc284 (patch)
tree3613347f29bf354be480a516cad2128a3904a02a /drivers
parentbae584316045011ce3376816585a305d2b9b76f2 (diff)
i4l: minor cleanups
Minor cleanups, either made possible or obvious after commit d700555 (I4l: convert to net_device_ops). Signed-off-by: Paul Bolle <pebolle@tiscali.nl> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/isdn/i4l/isdn_net.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/isdn/i4l/isdn_net.c b/drivers/isdn/i4l/isdn_net.c
index de6be7181f07..cb8943da4f12 100644
--- a/drivers/isdn/i4l/isdn_net.c
+++ b/drivers/isdn/i4l/isdn_net.c
@@ -2515,7 +2515,6 @@ static const struct net_device_ops isdn_netdev_ops = {
2515 .ndo_stop = isdn_net_close, 2515 .ndo_stop = isdn_net_close,
2516 .ndo_do_ioctl = isdn_net_ioctl, 2516 .ndo_do_ioctl = isdn_net_ioctl,
2517 2517
2518 .ndo_validate_addr = NULL,
2519 .ndo_start_xmit = isdn_net_start_xmit, 2518 .ndo_start_xmit = isdn_net_start_xmit,
2520 .ndo_get_stats = isdn_net_get_stats, 2519 .ndo_get_stats = isdn_net_get_stats,
2521 .ndo_tx_timeout = isdn_net_tx_timeout, 2520 .ndo_tx_timeout = isdn_net_tx_timeout,
@@ -2530,12 +2529,8 @@ static void _isdn_setup(struct net_device *dev)
2530 2529
2531 ether_setup(dev); 2530 ether_setup(dev);
2532 2531
2533 dev->flags = IFF_NOARP | IFF_POINTOPOINT;
2534 /* Setup the generic properties */ 2532 /* Setup the generic properties */
2535 dev->mtu = 1500;
2536 dev->flags = IFF_NOARP|IFF_POINTOPOINT; 2533 dev->flags = IFF_NOARP|IFF_POINTOPOINT;
2537 dev->type = ARPHRD_ETHER;
2538 dev->addr_len = ETH_ALEN;
2539 dev->header_ops = NULL; 2534 dev->header_ops = NULL;
2540 dev->netdev_ops = &isdn_netdev_ops; 2535 dev->netdev_ops = &isdn_netdev_ops;
2541 2536