diff mbox

mn10300/PCI: Remove pci_mem_start

Message ID 20130928175956.8752.50967.stgit@amt.stowe (mailing list archive)
State New, archived
Delegated to: Bjorn Helgaas
Headers show

Commit Message

Myron Stowe Sept. 28, 2013, 5:59 p.m. UTC
Remove unused 'pci_mem_start' variable.

CC: David Howells <dhowells@redhat.com>
CC: Koichi Yasutake <yasutake.koichi@jp.panasonic.com>
Signed-off-by: Myron Stowe <myron.stowe@redhat.com>
---

 arch/mn10300/include/asm/pci.h |    1 -
 arch/mn10300/kernel/setup.c    |    3 ---
 2 files changed, 0 insertions(+), 4 deletions(-)


--
To unsubscribe from this list: send the line "unsubscribe linux-pci" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Comments

David Howells Sept. 30, 2013, 1:41 p.m. UTC | #1
Myron Stowe <myron.stowe@redhat.com> wrote:

> Remove unused 'pci_mem_start' variable.
> 
> CC: David Howells <dhowells@redhat.com>
> CC: Koichi Yasutake <yasutake.koichi@jp.panasonic.com>
> Signed-off-by: Myron Stowe <myron.stowe@redhat.com>

Acked-by: David Howells <dhowells@redhat.com>
--
To unsubscribe from this list: send the line "unsubscribe linux-pci" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Bjorn Helgaas Oct. 4, 2013, 8:22 p.m. UTC | #2
On Sat, Sep 28, 2013 at 11:59 AM, Myron Stowe <myron.stowe@redhat.com> wrote:
> Remove unused 'pci_mem_start' variable.
>
> CC: David Howells <dhowells@redhat.com>
> CC: Koichi Yasutake <yasutake.koichi@jp.panasonic.com>
> Signed-off-by: Myron Stowe <myron.stowe@redhat.com>

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

Bjorn

> ---
>
>  arch/mn10300/include/asm/pci.h |    1 -
>  arch/mn10300/kernel/setup.c    |    3 ---
>  2 files changed, 0 insertions(+), 4 deletions(-)
>
> diff --git a/arch/mn10300/include/asm/pci.h b/arch/mn10300/include/asm/pci.h
> index 6f31cc0..1663238 100644
> --- a/arch/mn10300/include/asm/pci.h
> +++ b/arch/mn10300/include/asm/pci.h
> @@ -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
>
> diff --git a/arch/mn10300/kernel/setup.c b/arch/mn10300/kernel/setup.c
> index ebac9c1..2ad7f32 100644
> --- a/arch/mn10300/kernel/setup.c
> +++ b/arch/mn10300/kernel/setup.c
> @@ -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";
>
--
To unsubscribe from this list: send the line "unsubscribe linux-pci" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/arch/mn10300/include/asm/pci.h b/arch/mn10300/include/asm/pci.h
index 6f31cc0..1663238 100644
--- a/arch/mn10300/include/asm/pci.h
+++ b/arch/mn10300/include/asm/pci.h
@@ -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
 
diff --git a/arch/mn10300/kernel/setup.c b/arch/mn10300/kernel/setup.c
index ebac9c1..2ad7f32 100644
--- a/arch/mn10300/kernel/setup.c
+++ b/arch/mn10300/kernel/setup.c
@@ -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";