]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[POWERPC] Abolish unused ucBoardRev variables
authorDavid Gibson <david@gibson.dropbear.id.au>
Wed, 27 Jun 2007 06:54:58 +0000 (16:54 +1000)
committerPaul Mackerras <paulus@samba.org>
Thu, 28 Jun 2007 09:19:29 +0000 (19:19 +1000)
asm-powerpc/processor.h declares, and arch/ppc/platforms/prep_setup.c
defines variables ucBoardRev, ucBoardRevMaj and ucBoardRevMin which
are used nowhere in the current kernel (neither in arch/ppc nor
arch/powerpc).  This removes them.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/ppc/platforms/prep_setup.c
include/asm-powerpc/processor.h

index 6f21110a9747ef20b216edf38b5701eb91c12e0f..3c56654bfc6f28580a42a7e4cc4a043dcd8e300d 100644 (file)
@@ -69,9 +69,6 @@
 
 TODC_ALLOC();
 
-unsigned char ucBoardRev;
-unsigned char ucBoardRevMaj, ucBoardRevMin;
-
 extern unsigned char prep_nvram_read_val(int addr);
 extern void prep_nvram_write_val(int addr,
                                 unsigned char val);
index d947b160949115894a0bd38caa8d6467a4f2d291..e28b108051592d443c9f6da8982c2740be780424 100644 (file)
@@ -43,14 +43,6 @@ extern int _chrp_type;
 /* what kind of prep workstation we are */
 extern int _prep_type;
 
-/*
- * This is used to identify the board type from a given PReP board
- * vendor. Board revision is also made available. This will be moved
- * elsewhere soon
- */
-extern unsigned char ucBoardRev;
-extern unsigned char ucBoardRevMaj, ucBoardRevMin;
-
 #endif /* CONFIG_PPC_PREP */
 
 #endif /* defined(__KERNEL__) && defined(CONFIG_PPC32) */