Skip to content

Commit

Permalink
m68k vme_scc: avoid global namespace pollution
Browse files Browse the repository at this point in the history
m68k vme_scc:
  - make scc_ports[] static
  - kill unused global scc_initialized

Signed-off-by: Geert Uytterhoeven <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
geertu authored and torvalds committed May 18, 2008
1 parent 47738a7 commit eb4db45
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions drivers/char/vme_scc.c
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,7 @@ static void scc_break_ctl(struct tty_struct *tty, int break_state);

static struct tty_driver *scc_driver;

struct scc_port scc_ports[2];

int scc_initialized = 0;
static struct scc_port scc_ports[2];

/*---------------------------------------------------------------------------
* Interface from generic_serial.c back here
Expand Down

0 comments on commit eb4db45

Please sign in to comment.