]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
net: ethernet: ti: cpsw: don't start queue twice
authorIvan Khoronzhuk <ivan.khoronzhuk@linaro.org>
Sat, 10 Dec 2016 12:23:47 +0000 (14:23 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sat, 10 Dec 2016 22:29:47 +0000 (17:29 -0500)
No need to start queues after cpsw is started as it will be done
while cpsw_adjust_link(), after phy connection.

Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ti/cpsw.c

index c45f7d2100dfdb3248221936eca4f36c12d61540..23213a369c4304800ee679104d31b97b85536cb2 100644 (file)
@@ -1506,8 +1506,6 @@ static int cpsw_ndo_open(struct net_device *ndev)
        if (cpsw->data.dual_emac)
                cpsw->slaves[priv->emac_port].open_stat = true;
 
-       netif_tx_start_all_queues(ndev);
-
        return 0;
 
 err_cleanup: