[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>

authored by Adrian Bunk and committed by Linus Torvalds 3824ba7d e1b114ee

-15
-1
arch/ia64/hp/sim/simserial.c
··· 108 108 static struct console *console; 109 109 110 110 static unsigned char *tmp_buf; 111 - static DECLARE_MUTEX(tmp_buf_sem); 112 111 113 112 extern struct console *console_drivers; /* from kernel/printk.c */ 114 113
-1
arch/ppc/4xx_io/serial_sicc.c
··· 215 215 * memory if large numbers of serial ports are open. 216 216 */ 217 217 static u_char *tmp_buf; 218 - static DECLARE_MUTEX(tmp_buf_sem); 219 218 220 219 #define HIGH_BITS_OFFSET ((sizeof(long)-sizeof(int))*8) 221 220
-1
drivers/char/amiserial.c
··· 129 129 * memory if large numbers of serial ports are open. 130 130 */ 131 131 static unsigned char *tmp_buf; 132 - static DECLARE_MUTEX(tmp_buf_sem); 133 132 134 133 #include <asm/uaccess.h> 135 134
-1
drivers/char/esp.c
··· 160 160 * memory if large numbers of serial ports are open. 161 161 */ 162 162 static unsigned char *tmp_buf; 163 - static DECLARE_MUTEX(tmp_buf_sem); 164 163 165 164 static inline int serial_paranoia_check(struct esp_struct *info, 166 165 char *name, const char *routine)
-1
drivers/char/generic_serial.c
··· 34 34 #define DEBUG 35 35 36 36 static char * tmp_buf; 37 - static DECLARE_MUTEX(tmp_buf_sem); 38 37 39 38 static int gs_debug; 40 39
-1
drivers/char/riscom8.c
··· 82 82 static struct riscom_board * IRQ_to_board[16]; 83 83 static struct tty_driver *riscom_driver; 84 84 static unsigned char * tmp_buf; 85 - static DECLARE_MUTEX(tmp_buf_sem); 86 85 87 86 static unsigned long baud_table[] = { 88 87 0, 50, 75, 110, 134, 150, 200, 300, 600, 1200, 1800, 2400, 4800,
-1
drivers/char/serial167.c
··· 129 129 * memory if large numbers of serial ports are open. 130 130 */ 131 131 static unsigned char *tmp_buf = 0; 132 - DECLARE_MUTEX(tmp_buf_sem); 133 132 134 133 /* 135 134 * This is used to look up the divisor speeds and the timeouts
-3
drivers/char/specialix.c
··· 184 184 185 185 static struct tty_driver *specialix_driver; 186 186 static unsigned char * tmp_buf; 187 - static DECLARE_MUTEX(tmp_buf_sem); 188 187 189 188 static unsigned long baud_table[] = { 190 189 0, 50, 75, 110, 134, 150, 200, 300, 600, 1200, 1800, 2400, 4800, ··· 2554 2555 int i; 2555 2556 2556 2557 func_enter(); 2557 - 2558 - init_MUTEX(&tmp_buf_sem); /* Init de the semaphore - pvdl */ 2559 2558 2560 2559 if (iobase[0] || iobase[1] || iobase[2] || iobase[3]) { 2561 2560 for(i = 0; i < SX_NBOARD; i++) {
-1
drivers/char/synclink.c
··· 951 951 * memory if large numbers of serial ports are open. 952 952 */ 953 953 static unsigned char *tmp_buf; 954 - static DECLARE_MUTEX(tmp_buf_sem); 955 954 956 955 static inline int mgsl_paranoia_check(struct mgsl_struct *info, 957 956 char *name, const char *routine)
-1
drivers/sbus/char/aurora.c
··· 92 92 93 93 /* no longer used. static struct Aurora_board * IRQ_to_board[16] = { NULL, } ;*/ 94 94 static unsigned char * tmp_buf = NULL; 95 - static DECLARE_MUTEX(tmp_buf_sem); 96 95 97 96 DECLARE_TASK_QUEUE(tq_aurora); 98 97
-1
drivers/serial/68328serial.c
··· 143 143 * memory if large numbers of serial ports are open. 144 144 */ 145 145 static unsigned char tmp_buf[SERIAL_XMIT_SIZE]; /* This is cheating */ 146 - DECLARE_MUTEX(tmp_buf_sem); 147 146 148 147 static inline int serial_paranoia_check(struct m68k_serial *info, 149 148 char *name, const char *routine)
-2
drivers/usb/serial/pl2303.c
··· 43 43 #define PL2303_BUF_SIZE 1024 44 44 #define PL2303_TMP_BUF_SIZE 1024 45 45 46 - static DECLARE_MUTEX(pl2303_tmp_buf_sem); 47 - 48 46 struct pl2303_buf { 49 47 unsigned int buf_size; 50 48 char *buf_buf;