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