Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2916085yba; Mon, 8 Apr 2019 07:23:40 -0700 (PDT) X-Google-Smtp-Source: APXvYqyR5Go/k3V9RS4lrJB+vnPU0lannnum5TBTSjVeEBpZKU4hiltpM4/hgsX/iodKxBVGTbDb X-Received: by 2002:a17:902:b181:: with SMTP id s1mr22364127plr.9.1554733420542; Mon, 08 Apr 2019 07:23:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554733420; cv=none; d=google.com; s=arc-20160816; b=qF5lorLNjzlJzlfYqfUiCgu4x3XUqM9XJiSxL1Nhms/sf/iO6siDTS+tW+rOrz6U6e 68f7v3RcB/I+MpBTBQgPZ8Nau5p+DvNw7DRtTiMqbneiTeUHmG3MkNajUvjXkI4wwDOX PeBv+6zDubKu9Mh50RMey8BsiGls/CSYm6ZmVO4bBDh2+OM9ZKF31QUsS6UFmmrhYmIs YMEuzchKU+kLrS/9/7y+20zUwKQi8chkuTVK5Hq7OCf/2eC8XP3wBBz8bOP1SqZTKlqc hRReuyueXeOA8PD6jWBE1k4HR1gfRsrstO4QseAtAkQTtoBRAoxwpWMGVR6q7pWXUNK4 +Q4w== 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=rXb/tKqbcopn9wNr7l89stHmuu9vVyH9CpEF0tmzMeQnIkLpXOwIU36iEHTzxU3ruP W9HOnzAZDpQZSrEz8IyjA3KCLEXwPtkeZLFepwHjRIxvJZ+/3UD/GEe65uzdX9qqnuZ4 UTtokWhp1FTd2nK5q4mzIrq+1w7t8kb0sqiMWSYxe/uMnVX88Y5i+8Xya0cpzlsD0Nfx Jn6LBfJ1tAxUIADy4POPu0wYFWuptf6+vS3dArZGaugD1klEBvkQ7GvMV+MYBw1s1RKZ WTrc79TmIOKlfeJK1RbEK+OdztaXrXyosLdmu3PfVI+1VX+ORR+ukgT5YqcD2TLVIOpY laKQ== 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 cv9si28008698plb.371.2019.04.08.07.23.25; Mon, 08 Apr 2019 07:23:40 -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 S1727317AbfDHOWP (ORCPT + 99 others); Mon, 8 Apr 2019 10:22:15 -0400 Received: from mx2.suse.de ([195.135.220.15]:33794 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726630AbfDHOV1 (ORCPT ); Mon, 8 Apr 2019 10:21:27 -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 DE316AFFA; Mon, 8 Apr 2019 14:21:24 +0000 (UTC) From: Thomas Bogendoerfer To: Ralf Baechle , Paul Burton , James Hogan , Dmitry Torokhov , Lee Jones , "David S. Miller" , 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 1/6] MIPS: SGI-IP27: remove ioc3 ethernet init Date: Mon, 8 Apr 2019 16:20:53 +0200 Message-Id: <20190408142100.27618-2-tbogendoerfer@suse.de> X-Mailer: git-send-email 2.13.7 In-Reply-To: <20190408142100.27618-1-tbogendoerfer@suse.de> References: <20190408142100.27618-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