Commit ea1a734a authored by David Gibson's avatar David Gibson Committed by Paul Mackerras

[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: default avatarDavid Gibson <david@gibson.dropbear.id.au>
Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
parent 08464712
...@@ -69,9 +69,6 @@ ...@@ -69,9 +69,6 @@
TODC_ALLOC(); TODC_ALLOC();
unsigned char ucBoardRev;
unsigned char ucBoardRevMaj, ucBoardRevMin;
extern unsigned char prep_nvram_read_val(int addr); extern unsigned char prep_nvram_read_val(int addr);
extern void prep_nvram_write_val(int addr, extern void prep_nvram_write_val(int addr,
unsigned char val); unsigned char val);
......
...@@ -43,14 +43,6 @@ extern int _chrp_type; ...@@ -43,14 +43,6 @@ extern int _chrp_type;
/* what kind of prep workstation we are */ /* what kind of prep workstation we are */
extern int _prep_type; 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 /* CONFIG_PPC_PREP */
#endif /* defined(__KERNEL__) && defined(CONFIG_PPC32) */ #endif /* defined(__KERNEL__) && defined(CONFIG_PPC32) */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment