projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
47738a7
)
m68k vme_scc: avoid global namespace pollution
author
Geert Uytterhoeven
<geert@linux-m68k.org>
Sun, 18 May 2008 18:47:11 +0000
(20:47 +0200)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Sun, 18 May 2008 20:28:48 +0000
(13:28 -0700)
m68k vme_scc:
- make scc_ports[] static
- kill unused global scc_initialized
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/vme_scc.c
patch
|
blob
|
history
diff --git
a/drivers/char/vme_scc.c
b/drivers/char/vme_scc.c
index e122a0e87bb0b8a53984262ae29bc5d0d3e34e63..f17ac043b551ee3bc6deb01148d45baac2bd2f2d 100644
(file)
--- a/
drivers/char/vme_scc.c
+++ b/
drivers/char/vme_scc.c
@@
-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