diff options
author | Adrian Bunk <bunk@stusta.de> | 2006-01-14 03:08:16 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-14 10:41:42 -0800 |
commit | 3824ba7df91745da6ebac703c87c3b801c34fdd0 (patch) | |
tree | d613f40e6812042956098d638940c975a920ff8c /drivers/char/specialix.c | |
parent | e1b114ee90040af5108973abd1a82babc4905868 (diff) | |
download | op-kernel-dev-3824ba7df91745da6ebac703c87c3b801c34fdd0.zip op-kernel-dev-3824ba7df91745da6ebac703c87c3b801c34fdd0.tar.gz |
[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 0a574bd..5343e9f 100644 --- a/drivers/char/specialix.c +++ b/drivers/char/specialix.c @@ -184,7 +184,6 @@ static int sx_poll = HZ; static struct tty_driver *specialix_driver; static unsigned char * tmp_buf; -static DECLARE_MUTEX(tmp_buf_sem); static unsigned long baud_table[] = { 0, 50, 75, 110, 134, 150, 200, 300, 600, 1200, 1800, 2400, 4800, @@ -2556,8 +2555,6 @@ static int __init specialix_init_module(void) func_enter(); - init_MUTEX(&tmp_buf_sem); /* Init de the semaphore - pvdl */ - if (iobase[0] || iobase[1] || iobase[2] || iobase[3]) { for(i = 0; i < SX_NBOARD; i++) { sx_board[i].base = iobase[i]; |