Message ID | 20180314133732.24068-6-madalin.bucur@nxp.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> 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 6C4516038F for <patchwork-linux-arm@patchwork.kernel.org>; Wed, 14 Mar 2018 13:41:25 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5648E28965 for <patchwork-linux-arm@patchwork.kernel.org>; Wed, 14 Mar 2018 13:41:25 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 54B532897F; Wed, 14 Mar 2018 13:41:25 +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=-1.9 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED,DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 908E2289F2 for <patchwork-linux-arm@patchwork.kernel.org>; Wed, 14 Mar 2018 13:41:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:Reply-To:List-Subscribe:List-Help: List-Post:List-Archive:List-Unsubscribe:List-Id:MIME-Version:References: In-Reply-To:Message-Id:Date:Subject:To:From:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=j3rA4sPhLBQnrZqWmlzAhyHXFCj2T9WFLv6/QemGTWg=; b=s2YEXBWHoJiCzr r19f9cCd1Q0yMLYXrQkSJ7AJAvw8SDycJIaSX6txx6J378FXofj5fd6iKsHtkZIZsfDSzF6MV9KXg VM+Iz+v5LbpavDlq+Pd31tfabqnhqgckmR8D6netFoTk60rwOWZhMWvPPhfbhKqIVSs3TOiVyHk+x vidkYTHb6surUHbVEafC7xeBjSc9dZMhGyVm9fcEAxOSLebEooHWch0kSC7U6oW/wGmQqBYAa5MSz THOeSKHXyxCkOeV4sUTt8KK4Epcu0JfF118oRYgm2WW5cAlVivX5LAL7r9Lo2riC1v7bPvPoFssGh tMsQRk9kAYi1ABfXAkkQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1ew6eH-0008OQ-Os; Wed, 14 Mar 2018 13:40:57 +0000 Received: from mail-eopbgr10084.outbound.protection.outlook.com ([40.107.1.84] helo=EUR02-HE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1ew6cB-0005it-1O for linux-arm-kernel@lists.infradead.org; Wed, 14 Mar 2018 13:38:52 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=lO30z80j9pjpgojVqZIO5gWMyfh2ts0RLRl/N+sRVCw=; b=FFZpiLC2CEYRHRacfhZo6GKPJ46cWWPFKUC+BlceU3Nf2xWuHAFZxlfNypb/yqTHbBPaI3i77GTb82YnM+ceX6Ojwpb2ckCZB3qP1sPdMrHkKbIGgQJu0w4KmH8ijQLvSlfqVv+j+xoMguFL5iXV9qVuiObiz96xfmIfYqnBrB0= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=madalin.bucur@nxp.com; Received: from rhuath.am.freescale.net (192.88.168.49) by AM5PR04MB3267.eurprd04.prod.outlook.com (2603:10a6:206:d::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.567.14; Wed, 14 Mar 2018 13:38:33 +0000 From: Madalin Bucur <madalin.bucur@nxp.com> To: davem@davemloft.net Subject: [PATCH 5/5] dpaa_eth: remove duplicate increment of the tx_errors counter Date: Wed, 14 Mar 2018 08:37:32 -0500 Message-Id: <20180314133732.24068-6-madalin.bucur@nxp.com> X-Mailer: git-send-email 2.8.3 In-Reply-To: <20180314133732.24068-1-madalin.bucur@nxp.com> References: <20180314133732.24068-1-madalin.bucur@nxp.com> MIME-Version: 1.0 X-Originating-IP: [192.88.168.49] X-ClientProxiedBy: SN4PR0601CA0024.namprd06.prod.outlook.com (2603:10b6:803:2f::34) To AM5PR04MB3267.eurprd04.prod.outlook.com (2603:10a6:206:d::20) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 682895c0-526c-4383-05ff-08d589b0e261 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(48565401081)(5600026)(4604075)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020); SRVR:AM5PR04MB3267; X-Microsoft-Exchange-Diagnostics: 1; AM5PR04MB3267; 3:EbSG13DlmZmiRookfdkN5EvbQZXCaaXOoSMKU/t6OPAAnLLxDciM14hMhKPbaEyg+BTzKTqWu8K1i2WDQs5RLI0GSUDU++5wR9ffpH0nvz+aw9nX958/T/QhhFHP2cxWCpPCRUmlU2h7PqDUCiTQSwUx+ZH3YtoQZsvcPguoj+h/A7fLjx37EoHvrgeg8YSXqnZCDXgvM9RBnWe2AMlnvhvIXse0dcwyfS/Bj2jwvVQwB1d9gveJ8r0T/xiNMbi8; 25:kQBUDzneaUoqil15IVuxjXsRcUItJd2JQZrts+hOgeH9IHQEtpW1mCjngqmT3Y30e1/1lbWYcYzPtC7E0kajqTXz9FFeHVrZHV63FSV3V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oMl/gA5GRstkCKQn1ObU62X2EfiBVQZT71DKHGDV5Zocp+QAI6CrND6fQo3JQjJxy2DidPuWad1sN2vqVX/cVHDS4tlKWea6/mEV8GYRea7/x7YVJ3CvH/4OujrPKFF9Mym4/pXUo/qWlcEdyhXr3UPcoetoFfkPt5yZpoEKujnOQ/i5oUpI4cv1vpCtJ3M5Rt8IJHNCcDknCPaoU70kCtWpeyPOlQtFxuaIimk6eMDChXFLuuBcwRKwolDAzZYgF5m1mW2CPecDO1DCQnMuN44X/SpS1aCf2xDmnuL1uWM4S X-Microsoft-Antispam-PRVS: <AM5PR04MB3267F59CB912CAAD4F13182BECD10@AM5PR04MB3267.eurprd04.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(3231221)(944501244)(52105095)(10201501046)(3002001)(93006095)(93001095)(6055026)(6041310)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(20161123564045)(20161123560045)(6072148)(201708071742011); SRVR:AM5PR04MB3267; BCL:0; PCL:0; RULEID:; SRVR:AM5PR04MB3267; X-Forefront-PRVS: 0611A21987 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(39860400002)(39380400002)(346002)(376002)(366004)(396003)(199004)(189003)(1076002)(68736007)(7736002)(6916009)(47776003)(4326008)(8676002)(2950100002)(316002)(50466002)(81156014)(25786009)(81166006)(66066001)(50226002)(305945005)(3846002)(8936002)(53936002)(6116002)(36756003)(48376002)(2906002)(16526019)(26005)(3450700001)(2361001)(86362001)(186003)(59450400001)(478600001)(51416003)(76176011)(106356001)(52116002)(16586007)(43066004)(6512007)(2351001)(6486002)(97736004)(5660300001)(386003)(105586002)(6506007); DIR:OUT; SFP:1101; SCL:1; SRVR:AM5PR04MB3267; H:rhuath.am.freescale.net; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; Received-SPF: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; AM5PR04MB3267; 23:IP8Pi1zYLX1NzeKci0d7TkmFqAi9hi1q5F+/QY+C7?= =?us-ascii?Q?AclmX/ZlPJjLnV6Lcb7+XmvHrtMJIsUeRhcEFjsi6+nL4Xs6o4HA8afflkvs?= =?us-ascii?Q?vnGv83KTKeXLt2KgbwlmH7i6DU848cr2ZW3IuDm2ZMDWT+0Suvvh6t6+5c/+?= =?us-ascii?Q?YU8EayQDHzU+k7EWZI09gRSKUGhtwEki3oA8hqtYUY38/f5fr1PyebVcAznn?= =?us-ascii?Q?n+ET6aNIqzKEYL+SVmtkkoqCJgBDk2Jj+SORZg0w/n0pV+l62Jy6742kVBfi?= =?us-ascii?Q?Q+x5WrOS7/D1PnoXD+kBIZfbYVC9j9TzfD/m1eNRHVIwCmLnhdK5Vx+XJwhh?= =?us-ascii?Q?TWanBBglxV658M9RiH7rtoUU+eLd1kxsVClcbWgVpvYjF0hWanIFyUu4NiMO?= =?us-ascii?Q?Gy3BHZ1OcceZH1+IzTkm/ULs6ASXjbGBITtaAZ/h85Z4Ymcbez9Ib/vxFgB0?= =?us-ascii?Q?xiSkhZbtAd/F053B07YxK53LhZzTPSmxJ+xrQgt5Or/BtjhrPO5Ks8+HQMgQ?= =?us-ascii?Q?DfxKZc25EHfcWEq/FEKOK9rIL9mIKwVEe8VC+gHq0AxgV3YIlmHQUPpup2RU?= =?us-ascii?Q?X5x/8OK4p4wHsbutdwzOHOEo+s6jOaIyGvg3QOS4UMv3O6A5zvIrLepoTSzw?= =?us-ascii?Q?a12BXKjBuhSHI6ZS4efy6vBUu06r8bUFtgn5GkEYsJhFf4KOa/M8kvLetyEn?= =?us-ascii?Q?yLHI1jsRIzzm0mc26ZGx63yvihi6vYU1Wz4hLsoKdbkSchJlX3ihhOi/jmVu?= =?us-ascii?Q?jtiyHjW6DZdXhCtOhIxhHhKyy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wlWDNs8pbJMZeFduPg02qpFOrUoXvs0g6zb3DwaM2u+5Li8BtxKwmwSkAjgKMt8SI=; 5:A8f0BIoiaJ4GZ7BL2av4+pqnUmh8BNloFVI07UUTqpfnK19YQsXRKLXZtQNzsItjhQgRDlK/UhmvzXnp4H7UC2Y17AgBozKRK3zQmDitmXzNjTqOFuCOFkknfTgG7ym5cVm/zD+eM+djhzQUhyrWU/9OolH7dBVdD6Cgs8p9gjY=; 24:5kwrjZ5FTL26nQRMqmD3o1z1ojlJ2j2ofGkmqFt1wLTeFqI62sKv59MyDVNiMJdjoqn8e8TDQbx4yL0V2zDHij+V6LqQgZ1YadhdoeuwjX0=; 7:smskIj8nwUx1jJ952l6TNILQUI31m2kJfWfHv8nYKolBvfRKvw36U/YOY2YnPFT1sNzBOnmsxJi/Iz5T3baBtBQwZ4jWUYO65wdoxeyrEp4vZuE2cwAPKs5NI+XApBBGayJHou0Tn256ScGwu0m/asbrUja1ol2E6xvh4A+Kv2GirEdZVY19UtX0f8FCj5GRu37W+ETbaWzttAdeOnLT7cGQWjtIthbBR7Da0K/f5PcCiGsLgl8yqy4SnFfORCZ5 SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Mar 2018 13:38:33.1957 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 682895c0-526c-4383-05ff-08d589b0e261 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM5PR04MB3267 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180314_063847_753800_1EFE9760 X-CRM114-Status: GOOD ( 10.77 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Reply-To: madalin.bucur@nxp.com Cc: Madalin Bucur <madalin.bucur@nxp.com>, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, leoyang.li@nxp.com, camelia.groza@nxp.com, linuxppc-dev@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/drivers/net/ethernet/freescale/dpaa/dpaa_eth.c b/drivers/net/ethernet/freescale/dpaa/dpaa_eth.c index 76b3c9e..fd43f98 100644 --- a/drivers/net/ethernet/freescale/dpaa/dpaa_eth.c +++ b/drivers/net/ethernet/freescale/dpaa/dpaa_eth.c @@ -2021,7 +2021,6 @@ static inline int dpaa_xmit(struct dpaa_priv *priv, } if (unlikely(err < 0)) { - percpu_stats->tx_errors++; percpu_stats->tx_fifo_errors++; return err; }