Remove duplicate calls to netxen_napi_add().
Signed-off-by: Dhananjay Phadke <dhananjay@netxen.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
netdev->irq = adapter->msix_entries[0].vector;
- err = netxen_napi_add(adapter, netdev);
- if (err)
- return err;
-
init_timer(&adapter->watchdog_timer);
adapter->watchdog_timer.function = &netxen_watchdog;
adapter->watchdog_timer.data = (unsigned long)adapter;
device_remove_file(dev, &dev_attr_bridged_mode);
}
-static void netxen_watchdog(unsigned long);
-
#ifdef CONFIG_INET
#define is_netxen_netdev(dev) (dev->netdev_ops == &netxen_netdev_ops)