diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2007-06-27 02:54:58 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-06-28 05:19:29 -0400 |
commit | ea1a734ad73478dace97e9712101029f536d10a3 (patch) | |
tree | 3d248e070d83322a005566945614508bcad0402a | |
parent | 084647125227b870267859d544c91c03743816dc (diff) |
[POWERPC] Abolish unused ucBoardRev variables
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>
-rw-r--r-- | arch/ppc/platforms/prep_setup.c | 3 | ||||
-rw-r--r-- | include/asm-powerpc/processor.h | 8 |
2 files changed, 0 insertions, 11 deletions
diff --git a/arch/ppc/platforms/prep_setup.c b/arch/ppc/platforms/prep_setup.c index 6f21110a9747..3c56654bfc6f 100644 --- a/arch/ppc/platforms/prep_setup.c +++ b/arch/ppc/platforms/prep_setup.c | |||
@@ -69,9 +69,6 @@ | |||
69 | 69 | ||
70 | TODC_ALLOC(); | 70 | TODC_ALLOC(); |
71 | 71 | ||
72 | unsigned char ucBoardRev; | ||
73 | unsigned char ucBoardRevMaj, ucBoardRevMin; | ||
74 | |||
75 | extern unsigned char prep_nvram_read_val(int addr); | 72 | extern unsigned char prep_nvram_read_val(int addr); |
76 | extern void prep_nvram_write_val(int addr, | 73 | extern void prep_nvram_write_val(int addr, |
77 | unsigned char val); | 74 | unsigned char val); |
diff --git a/include/asm-powerpc/processor.h b/include/asm-powerpc/processor.h index d947b1609491..e28b10805159 100644 --- a/include/asm-powerpc/processor.h +++ b/include/asm-powerpc/processor.h | |||
@@ -43,14 +43,6 @@ extern int _chrp_type; | |||
43 | /* what kind of prep workstation we are */ | 43 | /* what kind of prep workstation we are */ |
44 | extern int _prep_type; | 44 | extern int _prep_type; |
45 | 45 | ||
46 | /* | ||
47 | * This is used to identify the board type from a given PReP board | ||
48 | * vendor. Board revision is also made available. This will be moved | ||
49 | * elsewhere soon | ||
50 | */ | ||
51 | extern unsigned char ucBoardRev; | ||
52 | extern unsigned char ucBoardRevMaj, ucBoardRevMin; | ||
53 | |||
54 | #endif /* CONFIG_PPC_PREP */ | 46 | #endif /* CONFIG_PPC_PREP */ |
55 | 47 | ||
56 | #endif /* defined(__KERNEL__) && defined(CONFIG_PPC32) */ | 48 | #endif /* defined(__KERNEL__) && defined(CONFIG_PPC32) */ |