linux-mips
[Top] [All Lists]

[PATCH] MIPS: Remove duplicate definition of check_for_high_segbits.

To: linux-mips@linux-mips.org, ralf@linux-mips.org
Subject: [PATCH] MIPS: Remove duplicate definition of check_for_high_segbits.
From: David Daney <ddaney.cavm@gmail.com>
Date: Wed, 22 May 2013 15:27:22 -0700
Cc: David Daney <david.daney@cavium.com>
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer; bh=oAK9NaQUM2uZpMfHZegBrUkFdqfal5KRaCNJHcDvoZo=; b=WzZoYhlWJ3p0Nc6CoDjRX5Z54F5AMcz0FPF2hQWLAKxLL5gQP5fOg9AOG1vHzEhFAl 6zGcy5ihs7C7sK8mr1apSlyHKDQSPOIDj3lz6Eya3MRKaxINMOr1DgxCDCs9s1yAQfsC CSvDKetjCK2bijc76VSBcsnBZ8f/vnwKrGXsIP8KfhBomDvnd2Mn4Lndy8s05XdLGaQ7 MJbJA56bW3ySx1kAN37PF7A6ISD/MA6OLlg5fCTwhEIUWcMT4Rfn/V09JuVnR31Nmlsm YyUYm6p1HTepZ6si9kmMABjx69vn7kbkS9Ls4QnMaQln//j09ejl1y+3r64pzVTSKQ1A 9ZDA==
List-archive: <http://www.linux-mips.org/archives/linux-mips/>
List-help: <mailto:ecartis@linux-mips.org?Subject=help>
List-id: linux-mips <linux-mips.eddie.linux-mips.org>
List-owner: <mailto:ralf@linux-mips.org>
List-post: <mailto:linux-mips@linux-mips.org>
List-software: Ecartis version 1.0.0
List-subscribe: <mailto:ecartis@linux-mips.org?subject=subscribe%20linux-mips>
List-unsubscribe: <mailto:ecartis@linux-mips.org?subject=unsubscribe%20linux-mips>
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
From: David Daney <david.daney@cavium.com>

In C, one definition is sufficient.

Signed-off-by: David Daney <david.daney@cavium.com>
---
 arch/mips/mm/tlbex.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/arch/mips/mm/tlbex.c b/arch/mips/mm/tlbex.c
index 3028674..5d82513 100644
--- a/arch/mips/mm/tlbex.c
+++ b/arch/mips/mm/tlbex.c
@@ -303,10 +303,6 @@ static u32 tlb_handler[128] __cpuinitdata;
 static struct uasm_label labels[128] __cpuinitdata;
 static struct uasm_reloc relocs[128] __cpuinitdata;
 
-#ifdef CONFIG_64BIT
-static int check_for_high_segbits __cpuinitdata;
-#endif
-
 static int check_for_high_segbits __cpuinitdata;
 
 static unsigned int kscratch_used_mask __cpuinitdata;
-- 
1.7.11.7


<Prev in Thread] Current Thread [Next in Thread>
  • [PATCH] MIPS: Remove duplicate definition of check_for_high_segbits., David Daney <=