be2net: remove netif_stop_queue being called before register_netdev.
authorAjit Khaparde <ajit.khaparde@emulex.com>
Tue, 1 Feb 2011 23:41:59 +0000 (15:41 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 1 Feb 2011 23:41:59 +0000 (15:41 -0800)
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>
drivers/net/benet/be_main.c

index 9aaf1ef704e9dc005385d38167077df157fe4ef5..28a32a6c8bf135fe043a607379a65c9b60b599a0 100644 (file)
@@ -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)