From patchwork Wed Apr 6 02:25:48 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Troy Kisky X-Patchwork-Id: 8757551 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 77DF29F336 for ; Wed, 6 Apr 2016 02:30:21 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 9C73B202A1 for ; Wed, 6 Apr 2016 02:30:20 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D774F20295 for ; Wed, 6 Apr 2016 02:30:19 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1andDC-0007rt-VI; Wed, 06 Apr 2016 02:28:54 +0000 Received: from mail-pa0-x229.google.com ([2607:f8b0:400e:c03::229]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1andCr-0007jG-5r for linux-arm-kernel@lists.infradead.org; Wed, 06 Apr 2016 02:28:34 +0000 Received: by mail-pa0-x229.google.com with SMTP id td3so22728663pab.2 for ; Tue, 05 Apr 2016 19:28:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=boundarydevices-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=iFmaybQhLqjMgwr441elO/EanYNnaKHL/TfYzRHvY9o=; b=WJKfHpYNZS5iymGgiUHnEEB5gOijUJnMdqqBtOwLR+UDI1ngMEO+Dc8c55nukwDaEy ETG6yig2IGjQBvJ93E3WuibzWyji54Wf299PctrF25tFuODSPUw1DMVLEWWnqrCGuo0S F9lP0i2Ssm1cWqztVUDJRFQmUc+dxD+j4DkuHQH5UiiQa62SQZwz3x4MTXI52iExsXJD D69EUoepKiefKfgVPW/BRdyFS+6YhU6OgcpA4tZsd/iPPzYLMvZsQ7C9tTFj1EQdjWKM rY0HOd/k3bopsEMm5GEhKa4CADJSIKJaoZTeB7L9DpZJ+HfeyJxre0ANxgXA6M/pL2p+ AKxA== 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=iFmaybQhLqjMgwr441elO/EanYNnaKHL/TfYzRHvY9o=; b=krYxKMDIP0MMnPexQoilU8LqWBTBeV9Q208t4BDNrrCUqpFYbD2Qejg/aTaS0rCVVQ 7nHi8/xm++CrtrGEYhyxACLelShf1gxmEYQAHQamkdGk9bW7rNLPCviUZ5LNNZs9R7s5 PPYNsZN2r/b4SjMpKSN1s2dWLkufvWoElOVnQCdg7mRKPL3T5vowAIqOv42YtjviFunl B0QGXpDnbn1k9yelgGhpyjR1lH1V/8kWTqNGZ9a0IAW3KNqKFqt7f36VKh3ptkh9UFDA jmFbOXds2JdQWapXYBt/TPxlxOyUEFuueQ18aSfrkg4hFmpJoEgLnkFf+7ZhDJaRWIPy qC3A== X-Gm-Message-State: AD7BkJIg3m94atVlmnthGovk4KmhJUAbi5ahxH3YrE+nX6QArOtW+o4FcZcCJFtUAue8fw== X-Received: by 10.66.253.68 with SMTP id zy4mr66911873pac.81.1459909692152; Tue, 05 Apr 2016 19:28:12 -0700 (PDT) Received: from localhost.localdomain (wsip-70-184-93-199.ph.ph.cox.net. [70.184.93.199]) by smtp.googlemail.com with ESMTPSA id l14sm528682pfi.23.2016.04.05.19.28.10 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 05 Apr 2016 19:28:11 -0700 (PDT) From: Troy Kisky To: netdev@vger.kernel.org, davem@davemloft.net, fugang.duan@nxp.com, lznuaa@gmail.com Subject: [PATCH net-next V3 02/16] net: fec: remove unused interrupt FEC_ENET_TS_TIMER Date: Tue, 5 Apr 2016 19:25:48 -0700 Message-Id: <1459909562-22865-3-git-send-email-troy.kisky@boundarydevices.com> X-Mailer: git-send-email 2.5.0 In-Reply-To: <1459909562-22865-1-git-send-email-troy.kisky@boundarydevices.com> References: <1459909562-22865-1-git-send-email-troy.kisky@boundarydevices.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160405_192833_358163_7C964728 X-CRM114-Status: GOOD ( 10.54 ) X-Spam-Score: -1.9 (-) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: andrew@lunn.ch, stillcompiling@gmail.com, arnd@arndb.de, sergei.shtylyov@cogentembedded.com, Troy Kisky , gerg@uclinux.org, fabio.estevam@nxp.com, johannes@sipsolutions.net, l.stach@pengutronix.de, linux-arm-kernel@lists.infradead.org, tremyfr@gmail.com MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-5.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP FEC_ENET_TS_TIMER is not checked in the interrupt routine so there is no need to enable it. Signed-off-by: Troy Kisky Acked-by: Fugang Duan --- v3: New patch Frank Li said "TS_TIMER should never be triggered." when discussing another patch. --- drivers/net/ethernet/freescale/fec.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/ethernet/freescale/fec.h b/drivers/net/ethernet/freescale/fec.h index 195122e..6dd0ba8 100644 --- a/drivers/net/ethernet/freescale/fec.h +++ b/drivers/net/ethernet/freescale/fec.h @@ -374,8 +374,8 @@ struct bufdesc_ex { #define FEC_ENET_TS_AVAIL ((uint)0x00010000) #define FEC_ENET_TS_TIMER ((uint)0x00008000) -#define FEC_DEFAULT_IMASK (FEC_ENET_TXF | FEC_ENET_RXF | FEC_ENET_MII | FEC_ENET_TS_TIMER) -#define FEC_NAPI_IMASK (FEC_ENET_MII | FEC_ENET_TS_TIMER) +#define FEC_DEFAULT_IMASK (FEC_ENET_TXF | FEC_ENET_RXF | FEC_ENET_MII) +#define FEC_NAPI_IMASK FEC_ENET_MII #define FEC_RX_DISABLED_IMASK (FEC_DEFAULT_IMASK & (~FEC_ENET_RXF)) /* ENET interrupt coalescing macro define */