From patchwork Sat Dec 10 12:23:47 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ivan Khoronzhuk X-Patchwork-Id: 9469273 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id CD34E60234 for ; Sat, 10 Dec 2016 12:25:43 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BEF922840B for ; Sat, 10 Dec 2016 12:25:43 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B3A4A285A8; Sat, 10 Dec 2016 12:25:43 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4DD6C2840B for ; Sat, 10 Dec 2016 12:25:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932088AbcLJMZI (ORCPT ); Sat, 10 Dec 2016 07:25:08 -0500 Received: from mail-lf0-f46.google.com ([209.85.215.46]:34603 "EHLO mail-lf0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752915AbcLJMX6 (ORCPT ); Sat, 10 Dec 2016 07:23:58 -0500 Received: by mail-lf0-f46.google.com with SMTP id y21so17042952lfa.1 for ; Sat, 10 Dec 2016 04:23:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=4z1bbai2T1/E/lhUrno4lsCpZK/XC2qFD4PNFGRoJcU=; b=V1yQc/NZMyO89Nx10vTmUIo+qXj9u3MqbCBEYJjOKGm5k9E/SvuWdnsyhTpXgJGD65 S4PUihTBC4IwX9FLbWPlSNg5AWYjwHgdtyc394XSF+luQOBYhP+XerbMwIom8kM7f/UR FMhU3a8touOLYXZp5HM6sLLkFRR5CfJ/MMUGo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=4z1bbai2T1/E/lhUrno4lsCpZK/XC2qFD4PNFGRoJcU=; b=N9ALuXCfAnuoKIHTGA7j4cr2h2ekXvDBbUx7bRtzDuis15ZdLt4S2kMZIyAb5i/2nd MA2xQEcwY3t4YBhChMuEiSzO3ki/lrukIcpGburgVjXSN1NaXYg3pcXdCiqvkDHBfbf2 CsoLsng3hl0HfDRLYuKg7y7sJWBI0kNSpOCCneMKB6WwGkE1+XAGRVWcNf4gcM/6AT73 LFtZ9TA6OfhlVVgeEPATypWP2Vw9ulli8jurhAC9vtMXzGTxPaowAddnhSdangaLx2Od XyEBUD/JmYHFBDE8XlVANf2Itll6ZTtzgud6kK/EUOPNtZ/uVF19RvcQh9NzABRUC558 iaRQ== X-Gm-Message-State: AKaTC009empbKsCSHueNjOSxCmbCQkfqhKrXpQRjSvfZuBFY3rsOA02Er36ufD6UKaVGyGDO X-Received: by 10.46.32.77 with SMTP id g74mr26328133ljg.31.1481372636415; Sat, 10 Dec 2016 04:23:56 -0800 (PST) Received: from localhost.localdomain (183-224-132-95.pool.ukrtel.net. [95.132.224.183]) by smtp.gmail.com with ESMTPSA id f14sm2507060lff.40.2016.12.10.04.23.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 10 Dec 2016 04:23:56 -0800 (PST) From: Ivan Khoronzhuk To: mugunthanvnm@ti.com, grygorii.strashko@ti.com Cc: linux-omap@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Ivan Khoronzhuk Subject: [PATCH 2/5] net: ethernet: ti: cpsw: don't start queue twice Date: Sat, 10 Dec 2016 14:23:47 +0200 Message-Id: <1481372630-14914-3-git-send-email-ivan.khoronzhuk@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1481372630-14914-1-git-send-email-ivan.khoronzhuk@linaro.org> References: <1481372630-14914-1-git-send-email-ivan.khoronzhuk@linaro.org> Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 --- drivers/net/ethernet/ti/cpsw.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/net/ethernet/ti/cpsw.c b/drivers/net/ethernet/ti/cpsw.c index c45f7d2..23213a3 100644 --- a/drivers/net/ethernet/ti/cpsw.c +++ b/drivers/net/ethernet/ti/cpsw.c @@ -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: