]> err.no Git - linux-2.6/blobdiff - drivers/char/specialix.c
[PATCH] remove unused tmp_buf_sem's
[linux-2.6] / drivers / char / specialix.c
index 0a574bdbce3695df8ab4e0553753e9e5f2f7a1f7..5343e9fc6ab7e721dc1a578e6a6e81e044549490 100644 (file)
@@ -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];