From patchwork Tue Aug 9 23:22:33 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ivan Khoronzhuk X-Patchwork-Id: 73579 Delivered-To: patch@linaro.org Received: by 10.140.29.52 with SMTP id a49csp127703qga; Tue, 9 Aug 2016 16:23:58 -0700 (PDT) X-Received: by 10.66.82.42 with SMTP id f10mr1577429pay.17.1470785038071; Tue, 09 Aug 2016 16:23:58 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f5si23283297pas.31.2016.08.09.16.23.57; Tue, 09 Aug 2016 16:23:58 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932762AbcHIXXe (ORCPT + 27 others); Tue, 9 Aug 2016 19:23:34 -0400 Received: from mail-wm0-f48.google.com ([74.125.82.48]:37407 "EHLO mail-wm0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932644AbcHIXX1 (ORCPT ); Tue, 9 Aug 2016 19:23:27 -0400 Received: by mail-wm0-f48.google.com with SMTP id i5so67094849wmg.0 for ; Tue, 09 Aug 2016 16:23:26 -0700 (PDT) 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=jaSVEsNIbLhyOBFR12AxkRtkbMppyED3ry3ijgVqEoQ=; b=czoM6QQ7yYIFNf443uPZvOMVh6jsDnYpBV613Bn4dzRmVkg/gaYdZnc23UtPECq/Bt bbeD7e4fwr5omaPkmqHHyEo24DzEi3v5+Z+JtuFLSJtUPSBHp5Kd6Cfjtx60hPagCPkU /HGdqi0swl3xmqqzzWBVdkW/ADxeuCeCZVfNc= 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=jaSVEsNIbLhyOBFR12AxkRtkbMppyED3ry3ijgVqEoQ=; b=IAbbU2XMFRasUE9j6lmzTloTWSYfkDRv+S6yZf9JqYAo5liZZPlRFwCDgw66NVstRd uealGhlRkbMCPo0Z1V5Um9nzENL1uqwJctB/NxNVc37OZhwBvW08FCPQ7+XO36mDlRbw pUErEeRvEwMtnDfRA/3FQe9WsPVcwUS3kLrXlLFq+//dLfTIsb0Yum6BVFUfHt4gZWFT H6QYLTwkK8pL0JdkEhmTTBIU75K2ecHXeg6LXzJUiV3obBD0xwLvVh4n6ANjWJfREQoi raJsMvJH9cSYLjbkD4MQ4oISR7Kv0q4bNvx5iu+vcJKD6CPOc0SM7zFy7Jpk3FCs8/Be 7Sgw== X-Gm-Message-State: AEkoouuIA+e/roENI8V8Ml2EFVUTvrrPhvzGIMfx5LeJoS3JMPAmqx5/Q1tzYXv1wSa24Z9F X-Received: by 10.25.211.130 with SMTP id k124mr152366lfg.175.1470785005792; Tue, 09 Aug 2016 16:23:25 -0700 (PDT) Received: from localhost.localdomain (88-203-94-178.pool.ukrtel.net. [178.94.203.88]) by smtp.gmail.com with ESMTPSA id s2sm904627lja.35.2016.08.09.16.23.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 09 Aug 2016 16:23:25 -0700 (PDT) From: Ivan Khoronzhuk To: netdev@vger.kernel.org, mugunthanvnm@ti.com, grygorii.strashko@ti.com Cc: linux-omap@vger.kernel.org, linux-kernel@vger.kernel.org, dlide@ti.com, Ivan Khoronzhuk Subject: [PATCH v3 02/13] net: ethernet: ti: cpsw: remove intr dbg msg from poll handlers Date: Wed, 10 Aug 2016 02:22:33 +0300 Message-Id: <1470784964-26440-3-git-send-email-ivan.khoronzhuk@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1470784964-26440-1-git-send-email-ivan.khoronzhuk@linaro.org> References: <1470784964-26440-1-git-send-email-ivan.khoronzhuk@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org At poll handler no possibility to figure out which network device is handling packets, as cpdma channels are common for both network devices in dual_emac mode. Currently, the messages are printed only for one device, in fact, there is two. This print msg is incorrect and seems is not very useful, so drop it from poll handler. Reviewed-by: Mugunthan V N Signed-off-by: Ivan Khoronzhuk --- drivers/net/ethernet/ti/cpsw.c | 6 ------ 1 file changed, 6 deletions(-) -- 1.9.1 diff --git a/drivers/net/ethernet/ti/cpsw.c b/drivers/net/ethernet/ti/cpsw.c index 8972bf6..21cf367 100644 --- a/drivers/net/ethernet/ti/cpsw.c +++ b/drivers/net/ethernet/ti/cpsw.c @@ -793,9 +793,6 @@ static int cpsw_tx_poll(struct napi_struct *napi_tx, int budget) } } - if (num_tx) - cpsw_dbg(priv, intr, "poll %d tx pkts\n", num_tx); - return num_tx; } @@ -814,9 +811,6 @@ static int cpsw_rx_poll(struct napi_struct *napi_rx, int budget) } } - if (num_rx) - cpsw_dbg(priv, intr, "poll %d rx pkts\n", num_rx); - return num_rx; }