diff options
author | Adrian Bunk <bunk@stusta.de> | 2006-01-13 21:08:16 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-14 13:41:42 -0500 |
commit | 3824ba7df91745da6ebac703c87c3b801c34fdd0 (patch) | |
tree | d613f40e6812042956098d638940c975a920ff8c /drivers/char/specialix.c | |
parent | e1b114ee90040af5108973abd1a82babc4905868 (diff) |
[PATCH] remove unused tmp_buf_sem's
tmp_buf_sem sems to be a common name for something completely unused...
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Acked-by: Greg Kroah-Hartman <gregkh@suse.de> ("usb portion")
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/char/specialix.c')
-rw-r--r-- | drivers/char/specialix.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/char/specialix.c b/drivers/char/specialix.c index 0a574bdbce36..5343e9fc6ab7 100644 --- a/drivers/char/specialix.c +++ b/drivers/char/specialix.c | |||
@@ -184,7 +184,6 @@ static int sx_poll = HZ; | |||
184 | 184 | ||
185 | static struct tty_driver *specialix_driver; | 185 | static struct tty_driver *specialix_driver; |
186 | static unsigned char * tmp_buf; | 186 | static unsigned char * tmp_buf; |
187 | static DECLARE_MUTEX(tmp_buf_sem); | ||
188 | 187 | ||
189 | static unsigned long baud_table[] = { | 188 | static unsigned long baud_table[] = { |
190 | 0, 50, 75, 110, 134, 150, 200, 300, 600, 1200, 1800, 2400, 4800, | 189 | 0, 50, 75, 110, 134, 150, 200, 300, 600, 1200, 1800, 2400, 4800, |
@@ -2556,8 +2555,6 @@ static int __init specialix_init_module(void) | |||
2556 | 2555 | ||
2557 | func_enter(); | 2556 | func_enter(); |
2558 | 2557 | ||
2559 | init_MUTEX(&tmp_buf_sem); /* Init de the semaphore - pvdl */ | ||
2560 | |||
2561 | if (iobase[0] || iobase[1] || iobase[2] || iobase[3]) { | 2558 | if (iobase[0] || iobase[1] || iobase[2] || iobase[3]) { |
2562 | for(i = 0; i < SX_NBOARD; i++) { | 2559 | for(i = 0; i < SX_NBOARD; i++) { |
2563 | sx_board[i].base = iobase[i]; | 2560 | sx_board[i].base = iobase[i]; |