diff options
author | Thomas Bogendoerfer <tbogendoerfer@suse.de> | 2019-08-30 12:25:24 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-08-30 23:54:35 +0300 |
commit | 688125a6e7872a8c827d7848ba8fbc41785fb9c6 (patch) | |
tree | ce2e5166d4cf7fdf708d3c61816f37e4eb93bc62 /arch | |
parent | 1a914990ffe997090a516681ac97519e7c1b22a2 (diff) | |
download | linux-688125a6e7872a8c827d7848ba8fbc41785fb9c6.tar.xz |
MIPS: SGI-IP27: remove ioc3 ethernet init
Removed not needed disabling of ethernet interrupts in IP27 platform code.
Acked-by: Paul Burton <paul.burton@mips.com>
Signed-off-by: Thomas Bogendoerfer <tbogendoerfer@suse.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/mips/sgi-ip27/ip27-init.c | 13 |
1 files changed, 0 insertions, 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); |