From patchwork Sun Dec 6 11:42:20 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yoshihiro Kaneko X-Patchwork-Id: 7778751 X-Patchwork-Delegate: horms@verge.net.au Return-Path: X-Original-To: patchwork-linux-sh@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 86F579F3E6 for ; Sun, 6 Dec 2015 11:44:06 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id AFAB0203E6 for ; Sun, 6 Dec 2015 11:44:05 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id A3C8B203E1 for ; Sun, 6 Dec 2015 11:44:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752005AbbLFLn2 (ORCPT ); Sun, 6 Dec 2015 06:43:28 -0500 Received: from mail-pa0-f47.google.com ([209.85.220.47]:36130 "EHLO mail-pa0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751540AbbLFLn1 (ORCPT ); Sun, 6 Dec 2015 06:43:27 -0500 Received: by pacdm15 with SMTP id dm15so109939504pac.3; Sun, 06 Dec 2015 03:43:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=gGRhc2pXZAbrvDd43D1R8fCm67Rvw5CfwYij+QLysAE=; b=J6TH4k/fdIzZEwvAIa1IfUBjOWtKtt/12VyAEZGnuZ39s/JKcyLhC975kMe3IUIs+Q AkPnQNEPxScECDeJ9gxhI8SPOVXnRnb3JpbI3kYhKiBQmK2/ofEmcOCMe/y94v1liQhL hxg3aG7VRcfb96fTftyyaSg6IRM4JMR/5s0qirr1AjdhLjQ0C0OwylnqtW7uYiLa2z+X S4+6KHxasCr3xJIuJZXPAuvqD1MxC4xvEalynGkSZa5XstYz3rcnUXZCBXzu/c4cScrI /j+zVXY+2Q2QlWBxMFb6gt3fxcKA0hOy+vhd2mHZG0p7u8WPq+QV+7sSIRAtZ25mUD/O Julw== X-Received: by 10.66.119.136 with SMTP id ku8mr4907322pab.128.1449402206875; Sun, 06 Dec 2015 03:43:26 -0800 (PST) Received: from macc.flets-east.jp (p3469131-ipngn19901marunouchi.tokyo.ocn.ne.jp. [153.229.6.131]) by smtp.gmail.com with ESMTPSA id 25sm27948129pfp.62.2015.12.06.03.43.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 06 Dec 2015 03:43:26 -0800 (PST) From: Yoshihiro Kaneko To: netdev@vger.kernel.org Cc: "David S. Miller" , Simon Horman , Magnus Damm , linux-sh@vger.kernel.org Subject: [PATCH net] ravb: Remove clear unhandled interrupt Date: Sun, 6 Dec 2015 20:42:20 +0900 Message-Id: <1449402140-24272-1-git-send-email-ykaneko0929@gmail.com> X-Mailer: git-send-email 1.9.1 Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham 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 From: Kazuya Mizuguchi AVB-DMAC Reception Warning interrupt is not enabled, so it is not necessary to clear the interrupt. Signed-off-by: Kazuya Mizuguchi Signed-off-by: Yoshihiro Kaneko --- This patch is based on the master branch of David Miller's networking tree. drivers/net/ethernet/renesas/ravb_main.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/net/ethernet/renesas/ravb_main.c b/drivers/net/ethernet/renesas/ravb_main.c index ed5da4d..b8fd5a5 100644 --- a/drivers/net/ethernet/renesas/ravb_main.c +++ b/drivers/net/ethernet/renesas/ravb_main.c @@ -1471,7 +1471,6 @@ static int ravb_close(struct net_device *ndev) /* Disable interrupts by clearing the interrupt masks. */ ravb_write(ndev, 0, RIC0); - ravb_write(ndev, 0, RIC1); ravb_write(ndev, 0, RIC2); ravb_write(ndev, 0, TIC);