Skip to content

Commit

Permalink
[POWERPC] Abolish unused ucBoardRev variables
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
David Gibson authored and Paul Mackerras committed Jun 28, 2007
1 parent 0846471 commit ea1a734
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
3 changes: 0 additions & 3 deletions arch/ppc/platforms/prep_setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
8 changes: 0 additions & 8 deletions include/asm-powerpc/processor.h
Original file line number Diff line number Diff line change
Expand Up @@ -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) */
Expand Down

0 comments on commit ea1a734

Please sign in to comment.