diff options
author | Ajit Khaparde <ajit.khaparde@emulex.com> | 2011-02-01 15:41:59 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-02-01 15:41:59 -0800 |
commit | 9b6cefd6593c2b661e0052d53f2fff6fc5463975 (patch) | |
tree | 3b8d6fc97b56e9fc28e92a5d5adde3aa19f0b1a1 /drivers | |
parent | a89e828397abbefdc5c3b707521f6b73471b43c8 (diff) |
be2net: remove netif_stop_queue being called before register_netdev.
It is illegal to call netif_stop_queue before register_netdev.
Signed-off-by: Ajit Khaparde <ajit.khaparde@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/benet/be_main.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/benet/be_main.c b/drivers/net/benet/be_main.c index 9aaf1ef704e9..28a32a6c8bf1 100644 --- a/drivers/net/benet/be_main.c +++ b/drivers/net/benet/be_main.c @@ -2626,8 +2626,6 @@ static void be_netdev_init(struct net_device *netdev) netif_napi_add(netdev, &adapter->tx_eq.napi, be_poll_tx_mcc, BE_NAPI_WEIGHT); - - netif_stop_queue(netdev); } static void be_unmap_pci_bars(struct be_adapter *adapter) |