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: 9272363 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 3E4D760839 for ; Tue, 9 Aug 2016 23:27:03 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1A0E325227 for ; Tue, 9 Aug 2016 23:27:03 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0EE5327F80; Tue, 9 Aug 2016 23:27:03 +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 A786525227 for ; Tue, 9 Aug 2016 23:27:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932736AbcHIXXc (ORCPT ); Tue, 9 Aug 2016 19:23:32 -0400 Received: from mail-wm0-f51.google.com ([74.125.82.51]:37904 "EHLO mail-wm0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932645AbcHIXX1 (ORCPT ); Tue, 9 Aug 2016 19:23:27 -0400 Received: by mail-wm0-f51.google.com with SMTP id o80so66905944wme.1 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=Qh/P9omITRSBFMvIXOCBGIUN/3kS80PGxEuS5p5vY4KNcp5ZsYK3if/ec1Fr6vF8fz 0ZSt4DhwZJ8rsJx88UpDdPv4qWHpw+4OcffVrBuGT27w7VCMkzJrdDln79Cswbm6g6L0 T5d5vATloZDjE14ytqLrJgGaoZMyWmvMHcc69oZSSpOmgcv1jYPN6IXyVAwoQVH4Ng+u CxyNTuioJUneYDBMc1Q3Y0I3HmMmk1HSitojHm73p7J7Ta641WdF5TtxJO0kxtlWz9lF tkh5b37+jfO6p1H3H8qTW0d6+jIYr4k2AEtLxmgTILsPOzeOwS7/H2V80BbhZFheokGm 6eyA== X-Gm-Message-State: AEkooutHNYWzsnH6Ng/YkYvf0Sup7cf2RRJ2PE08rhOI83UnVaEtbvuBemHQGNwZh+dK7o1L 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-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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(-) 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; }