linux-mips
[Top] [All Lists]

[PATCH 2/3] MIPS: Octeon: Remove redundant declaration of octeon_reserve

To: ddaney@caviumnetworks.com, ralf@linux-mips.org
Subject: [PATCH 2/3] MIPS: Octeon: Remove redundant declaration of octeon_reserve32_memory
From: Yang Shi <yang.shi@windriver.com>
Date: Wed, 3 Mar 2010 15:26:11 +0800
Cc: linux-mips@linux-mips.org
In-reply-to: <6310b9cb3048ec0c2873d932778165370e5e7c7e.1267600234.git.yang.shi@windriver.com>
In-reply-to: <6310b9cb3048ec0c2873d932778165370e5e7c7e.1267600234.git.yang.shi@windriver.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <1267601172-17919-1-git-send-email-yang.shi@windriver.com> <6310b9cb3048ec0c2873d932778165370e5e7c7e.1267600234.git.yang.shi@windriver.com>
References: <6310b9cb3048ec0c2873d932778165370e5e7c7e.1267600234.git.yang.shi@windriver.com>
Sender: linux-mips-bounce@linux-mips.org
In Octeon's setup.c, octeon_reserve32_memory is defined, so remove the
redundant extern declaration of this variable.

Signed-off-by: Yang Shi <yang.shi@windriver.com>
---
 arch/mips/cavium-octeon/setup.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/arch/mips/cavium-octeon/setup.c b/arch/mips/cavium-octeon/setup.c
index 4eaa35f..8309d68 100644
--- a/arch/mips/cavium-octeon/setup.c
+++ b/arch/mips/cavium-octeon/setup.c
@@ -45,9 +45,6 @@ extern struct plat_smp_ops octeon_smp_ops;
 extern void pci_console_init(const char *arg);
 #endif
 
-#ifdef CONFIG_CAVIUM_RESERVE32
-extern uint64_t octeon_reserve32_memory;
-#endif
 static unsigned long long MAX_MEMORY = 512ull << 20;
 
 struct octeon_boot_descriptor *octeon_boot_desc_ptr;
-- 
1.6.3.3


<Prev in Thread] Current Thread [Next in Thread>