2020-05-06 13:45:36

by Jason Yan

[permalink] [raw]
Subject: [PATCH] MIPS: Remove dead code in pci.h

This code has been marked dead for more than 10 years. Seems no need to
keep it now.

Signed-off-by: Jason Yan <[email protected]>
---
arch/mips/include/asm/mach-rc32434/pci.h | 3 ---
1 file changed, 3 deletions(-)

diff --git a/arch/mips/include/asm/mach-rc32434/pci.h b/arch/mips/include/asm/mach-rc32434/pci.h
index 6f40d1515580..9a6eefd12757 100644
--- a/arch/mips/include/asm/mach-rc32434/pci.h
+++ b/arch/mips/include/asm/mach-rc32434/pci.h
@@ -319,9 +319,6 @@ struct pci_msu {
#define PCIM_H_EA 0x3
#define PCIM_H_IA_FIX 0x4
#define PCIM_H_IA_RR 0x5
-#if 0
-#define PCI_ADDR_START 0x13000000
-#endif

#define PCI_ADDR_START 0x50000000

--
2.21.1


2020-05-07 08:42:59

by Thomas Bogendoerfer

[permalink] [raw]
Subject: Re: [PATCH] MIPS: Remove dead code in pci.h

On Wed, May 06, 2020 at 09:42:50PM +0800, Jason Yan wrote:
> This code has been marked dead for more than 10 years. Seems no need to
> keep it now.
>
> Signed-off-by: Jason Yan <[email protected]>
> ---
> arch/mips/include/asm/mach-rc32434/pci.h | 3 ---
> 1 file changed, 3 deletions(-)

applied to mips-next.

Thomas.

--
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea. [ RFC1925, 2.3 ]