Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp124943ybl; Fri, 9 Aug 2019 03:34:27 -0700 (PDT) X-Google-Smtp-Source: APXvYqyxmjqvDwtp0zobaubDtXPo9CoJw4souDTMHo0OIuEYl2DH7+3vaZ+lixvDwuhsNSTLNzvk X-Received: by 2002:a17:902:2f05:: with SMTP id s5mr14020584plb.170.1565346867825; Fri, 09 Aug 2019 03:34:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565346867; cv=none; d=google.com; s=arc-20160816; b=KOcg7qhlp0wmOsceWkO/LIDURp7gwbTfhQIPjzid/5LvrDo6egok0O/7UqVwz7PExP La/NwP4MISOaMcKE3dNv3jqbhIULtlDjCuSDfXxCbMEpsL3jGZnz/NesHkAYldExmEMI U9pMi051vgI0sppovhkM9dHnItLFR6YtsVKnV41oVttiH6ESDGLw1SYwhz61/DRowyRU xZ5fuT2c+Jpome8++IVpg5zNINlh8RJV1PocdYKu1KYb7b831FuzDT48zQiaNdnV9/+L PwjhIeVE8pGJbm6W9aOjiLlx2TV/JNJQyJ5ycXtw8O8ntnjDuRnclhct/QJvKp+7tN8E A2Qw== 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=KB3qnXJkQC6lb2esI3O6o6hcnBVIXgZG59b0OAJaD9gKNzqohnSI66zhNv3C4NK20X X4rOjHD4NEG14nMvX3Lv8xvJfYbQyA0XY5tRBtjEFthQpcM1W345c4FvB9dCKbOw6JHN KZ6scmHPyvp39QU3VPn1g3yMmvn7/AEUvybZEu7p+pT+ABCie2bsMWm54aHLAEolDmIf IyyYuONmpuEqtJEOHPv6NqyK6L6MKmyeM3kj9rZtRPcCF9xXFUBZaA9tvlkk8cuesi77 c/9Tzfd2xOI3Gdi/WybjKtc1F4FnFZ7PfenHtA2CcbCdu9yjgaEE7yRJfADt1r8duQ4M srOg== 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 h98si49420479plb.206.2019.08.09.03.34.12; Fri, 09 Aug 2019 03:34:27 -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 S2406475AbfHIKcw (ORCPT + 99 others); Fri, 9 Aug 2019 06:32:52 -0400 Received: from mx2.suse.de ([195.135.220.15]:41748 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2406357AbfHIKcs (ORCPT ); Fri, 9 Aug 2019 06:32:48 -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 4AF38B022; Fri, 9 Aug 2019 10:32:46 +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 , Evgeniy Polyakov , 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 v4 6/9] MIPS: SGI-IP27: remove ioc3 ethernet init Date: Fri, 9 Aug 2019 12:32:28 +0200 Message-Id: <20190809103235.16338-7-tbogendoerfer@suse.de> X-Mailer: git-send-email 2.13.7 In-Reply-To: <20190809103235.16338-1-tbogendoerfer@suse.de> References: <20190809103235.16338-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