MIPS: Remove duplicate definition of check_for_high_segbits.
authorDavid Daney <david.daney@cavium.com>
Wed, 22 May 2013 21:27:22 +0000 (21:27 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 23 May 2013 08:19:04 +0000 (10:19 +0200)
In C, one definition is sufficient.

Signed-off-by: David Daney <david.daney@cavium.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/5304/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/mm/tlbex.c

index ce9818eef7d392b569ea531a6064fea790458e3d..afeef93f81a79829ec564eaa8ddafebd4ed7e377 100644 (file)
@@ -301,10 +301,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;