Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp7133941ybi; Thu, 13 Jun 2019 10:08:35 -0700 (PDT) X-Google-Smtp-Source: APXvYqwZeC2U7buC6WmoZCxs35CAMq90Ww++EJ7wFFnRnlpv01NrtioSWbllcho95GNzGwsuG++W X-Received: by 2002:a62:fccd:: with SMTP id e196mr21540375pfh.53.1560445715250; Thu, 13 Jun 2019 10:08:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560445715; cv=none; d=google.com; s=arc-20160816; b=zxrZQe15uFPP9g3ZJfY1nZHuseR81uhOzIDscMvDM9b9UCA7d9NEyFjJmYla8JUn5W noMLMSCmzUTq1p88HeyHmgpt/gCXZO8MjBYsIYdNCoRuJx0AYwX0dJ+MTDSiOx+5Jy3X H0W9UqxZfg/Sy+CcaFUFxK8+0dAyxa1oe3IVhPCA/tsj/77sDRrqv/Pr+G/4HwRiOMDH I7yohpgqy/egMlzsG190NdV3TdX6ObqM9tvHfeKJfe92gw2CWGpqP/C61M/y/6usNFhv tozSEsLSvf/CExhSnCtbA6kR+nkB3iUNcMqoBu7Lvem4yluuss1uBRH5Mv0rXrPzAku4 ORMw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:to:from; bh=XNiZmskEMd6Y418m+cgVbQmjPypNDBQTi8ziHBINBMk=; b=wU17CcLQVinjbccxhh5HLP4SFZba+wTo5WCJUMidvnAyjTpSg0NYOO2/7jTNJS319p esg9fSsJpFd4t5GBwk+gINmWWCaXafADRyFC9g8Qb/60a0fTZ6ErsthMgaBnomGfoZgg S3VR7EfnE6bcwzAOlQZMSm2KreASogrZQIBfPVY6MsyUg7Sas6UQS7cQM8KURRBilOG6 yjObl5sDF1Y1kBRiGkBACBjOvnztFrl+wiSqT4dNpinsZB1k9btnYEC2ky0u0TNkWNqi LMcT4yvipIRtvvIX8hiY6p2Slckf/Kx7rfFILu9xyUdDsDYqt8uYn4mCYm6fHRjqV235 apIw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a18si122048plm.171.2019.06.13.10.08.20; Thu, 13 Jun 2019 10:08:35 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2393486AbfFMRHC (ORCPT + 99 others); Thu, 13 Jun 2019 13:07:02 -0400 Received: from mx2.suse.de ([195.135.220.15]:52190 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2393452AbfFMRG7 (ORCPT ); Thu, 13 Jun 2019 13:06:59 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 99843AEA3; Thu, 13 Jun 2019 17:06:57 +0000 (UTC) From: Thomas Bogendoerfer To: Ralf Baechle , Paul Burton , James Hogan , Dmitry Torokhov , Lee Jones , "David S. Miller" , Srinivas Kandagatla , Alessandro Zummo , Alexandre Belloni , Greg Kroah-Hartman , Jiri Slaby , linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, linux-input@vger.kernel.org, netdev@vger.kernel.org, linux-rtc@vger.kernel.org, linux-serial@vger.kernel.org Subject: [PATCH v3 4/7] MIPS: SGI-IP27: remove ioc3 ethernet init Date: Thu, 13 Jun 2019 19:06:30 +0200 Message-Id: <20190613170636.6647-5-tbogendoerfer@suse.de> X-Mailer: git-send-email 2.13.7 In-Reply-To: <20190613170636.6647-1-tbogendoerfer@suse.de> References: <20190613170636.6647-1-tbogendoerfer@suse.de> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Removed not needed disabling of ethernet interrupts in IP27 platform code. Signed-off-by: Thomas Bogendoerfer --- arch/mips/sgi-ip27/ip27-init.c | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/arch/mips/sgi-ip27/ip27-init.c b/arch/mips/sgi-ip27/ip27-init.c index 066b33f50bcc..59d5375c9021 100644 --- a/arch/mips/sgi-ip27/ip27-init.c +++ b/arch/mips/sgi-ip27/ip27-init.c @@ -130,17 +130,6 @@ cnodeid_t get_compact_nodeid(void) return NASID_TO_COMPACT_NODEID(get_nasid()); } -static inline void ioc3_eth_init(void) -{ - struct ioc3 *ioc3; - nasid_t nid; - - nid = get_nasid(); - ioc3 = (struct ioc3 *) KL_CONFIG_CH_CONS_INFO(nid)->memory_base; - - ioc3->eier = 0; -} - extern void ip27_reboot_setup(void); void __init plat_mem_setup(void) @@ -182,8 +171,6 @@ void __init plat_mem_setup(void) panic("Kernel compiled for N mode."); #endif - ioc3_eth_init(); - ioport_resource.start = 0; ioport_resource.end = ~0UL; set_io_port_base(IO_BASE); -- 2.13.7