Skip to content

Commit

Permalink
3c503, smc-ultra: netdev_ops bugs
Browse files Browse the repository at this point in the history
A couple of drivers have leftovers from netdev ops conversion.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Stephen Hemminger authored and David S. Miller committed Mar 27, 2009
1 parent 58add9f commit 1ace90f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions drivers/net/3c503.c
Original file line number Diff line number Diff line change
Expand Up @@ -353,9 +353,6 @@ el2_probe1(struct net_device *dev, int ioaddr)

dev->netdev_ops = &el2_netdev_ops;
dev->ethtool_ops = &netdev_ethtool_ops;
#ifdef CONFIG_NET_POLL_CONTROLLER
dev->poll_controller = eip_poll;
#endif

retval = register_netdev(dev);
if (retval)
Expand Down
3 changes: 0 additions & 3 deletions drivers/net/smc-ultra.c
Original file line number Diff line number Diff line change
Expand Up @@ -142,9 +142,6 @@ static int __init do_ultra_probe(struct net_device *dev)
int base_addr = dev->base_addr;
int irq = dev->irq;

#ifdef CONFIG_NET_POLL_CONTROLLER
dev->poll_controller = &ultra_poll;
#endif
if (base_addr > 0x1ff) /* Check a single specified location. */
return ultra_probe1(dev, base_addr);
else if (base_addr != 0) /* Don't probe at all. */
Expand Down

0 comments on commit 1ace90f

Please sign in to comment.