Skip to contentSkip to conversation

mn10300/PCI: Remove pci_mem_start

PATCH Applied Myron Stowe 3 participants 3 messages Sep 28, 2013 – Oct 4, 2013 PCI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mn10300/PCI: Remove pci_mem_start

Remove unused 'pci_mem_start' variable.

CC David Howells <[email protected]>
CC Koichi Yasutake <[email protected]>

---

 arch/mn10300/include/asm/pci.h |    1 -
 arch/mn10300/kernel/setup.c    |    3 ---
 2 files changed, 0 insertions(+), 4 deletions(-)
arch/mn10300/include/asm/pci.h +0 -1
index 6f31cc0..1663238 100644
@@ -44,7 +44,6 @@ extern void unit_pci_init(void);
 #define pcibios_assign_all_busses()	0
 #endif
 
-extern unsigned long pci_mem_start;
 #define PCIBIOS_MIN_IO		0xBE000004
 #define PCIBIOS_MIN_MEM		0xB8000000
 
arch/mn10300/kernel/setup.c +0 -3
index ebac9c1..2ad7f32 100644
@@ -35,9 +35,6 @@
 
 struct mn10300_cpuinfo boot_cpu_data;
 
-/* For PCI or other memory-mapped resources */
-unsigned long pci_mem_start = 0x18000000;
-
 static char __initdata cmd_line[COMMAND_LINE_SIZE];
 char redboot_command_line[COMMAND_LINE_SIZE] =
 	"console=ttyS0,115200 root=/dev/mtdblock3 rw";
maintainer Applied
#2 lore raw
In reply to Myron Stowe
Quoted 5 lines · Myron Stowe

Remove unused 'pci_mem_start' variable.

CC David Howells <[email protected]>
CC Koichi Yasutake <[email protected]>

Applied to pci/misc with David's ack. Thanks!

Bjorn

Quoted 33 lines

---

 arch/mn10300/include/asm/pci.h |    1 -
 arch/mn10300/kernel/setup.c    |    3 ---
 2 files changed, 0 insertions(+), 4 deletions(-)
arch/mn10300/include/asm/pci.h +0 -1
index 6f31cc0..1663238 100644
@@ -44,7 +44,6 @@ extern void unit_pci_init(void);
 #define pcibios_assign_all_busses()    0
 #endif
 
-extern unsigned long pci_mem_start;
 #define PCIBIOS_MIN_IO         0xBE000004
 #define PCIBIOS_MIN_MEM                0xB8000000
 
arch/mn10300/kernel/setup.c +0 -3
index ebac9c1..2ad7f32 100644
@@ -35,9 +35,6 @@
 
 struct mn10300_cpuinfo boot_cpu_data;
 
-/* For PCI or other memory-mapped resources */
-unsigned long pci_mem_start = 0x18000000;
-
 static char __initdata cmd_line[COMMAND_LINE_SIZE];
 char redboot_command_line[COMMAND_LINE_SIZE] =
        "console=ttyS0,115200 root=/dev/mtdblock3 rw";