mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 11:46:19 +00:00
[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>
This commit is contained in:
parent
e1b114ee90
commit
3824ba7df9
12 changed files with 0 additions and 15 deletions
|
@ -108,7 +108,6 @@ static struct async_struct *IRQ_ports[NR_IRQS];
|
|||
static struct console *console;
|
||||
|
||||
static unsigned char *tmp_buf;
|
||||
static DECLARE_MUTEX(tmp_buf_sem);
|
||||
|
||||
extern struct console *console_drivers; /* from kernel/printk.c */
|
||||
|
||||
|
|
|
@ -215,7 +215,6 @@ static struct tty_driver *siccnormal_driver;
|
|||
* memory if large numbers of serial ports are open.
|
||||
*/
|
||||
static u_char *tmp_buf;
|
||||
static DECLARE_MUTEX(tmp_buf_sem);
|
||||
|
||||
#define HIGH_BITS_OFFSET ((sizeof(long)-sizeof(int))*8)
|
||||
|
||||
|
|
|
@ -129,7 +129,6 @@ static struct serial_state rs_table[1];
|
|||
* memory if large numbers of serial ports are open.
|
||||
*/
|
||||
static unsigned char *tmp_buf;
|
||||
static DECLARE_MUTEX(tmp_buf_sem);
|
||||
|
||||
#include <asm/uaccess.h>
|
||||
|
||||
|
|
|
@ -160,7 +160,6 @@ static void rs_wait_until_sent(struct tty_struct *, int);
|
|||
* memory if large numbers of serial ports are open.
|
||||
*/
|
||||
static unsigned char *tmp_buf;
|
||||
static DECLARE_MUTEX(tmp_buf_sem);
|
||||
|
||||
static inline int serial_paranoia_check(struct esp_struct *info,
|
||||
char *name, const char *routine)
|
||||
|
|
|
@ -34,7 +34,6 @@
|
|||
#define DEBUG
|
||||
|
||||
static char * tmp_buf;
|
||||
static DECLARE_MUTEX(tmp_buf_sem);
|
||||
|
||||
static int gs_debug;
|
||||
|
||||
|
|
|
@ -82,7 +82,6 @@
|
|||
static struct riscom_board * IRQ_to_board[16];
|
||||
static struct tty_driver *riscom_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,
|
||||
|
|
|
@ -129,7 +129,6 @@ struct cyclades_port cy_port[] = {
|
|||
* memory if large numbers of serial ports are open.
|
||||
*/
|
||||
static unsigned char *tmp_buf = 0;
|
||||
DECLARE_MUTEX(tmp_buf_sem);
|
||||
|
||||
/*
|
||||
* This is used to look up the divisor speeds and the timeouts
|
||||
|
|
|
@ -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];
|
||||
|
|
|
@ -951,7 +951,6 @@ static void* mgsl_get_text_ptr(void)
|
|||
* memory if large numbers of serial ports are open.
|
||||
*/
|
||||
static unsigned char *tmp_buf;
|
||||
static DECLARE_MUTEX(tmp_buf_sem);
|
||||
|
||||
static inline int mgsl_paranoia_check(struct mgsl_struct *info,
|
||||
char *name, const char *routine)
|
||||
|
|
|
@ -92,7 +92,6 @@ static struct Aurora_port aurora_port[AURORA_TNPORTS] = {
|
|||
|
||||
/* no longer used. static struct Aurora_board * IRQ_to_board[16] = { NULL, } ;*/
|
||||
static unsigned char * tmp_buf = NULL;
|
||||
static DECLARE_MUTEX(tmp_buf_sem);
|
||||
|
||||
DECLARE_TASK_QUEUE(tq_aurora);
|
||||
|
||||
|
|
|
@ -143,7 +143,6 @@ static int m68328_console_cbaud = DEFAULT_CBAUD;
|
|||
* memory if large numbers of serial ports are open.
|
||||
*/
|
||||
static unsigned char tmp_buf[SERIAL_XMIT_SIZE]; /* This is cheating */
|
||||
DECLARE_MUTEX(tmp_buf_sem);
|
||||
|
||||
static inline int serial_paranoia_check(struct m68k_serial *info,
|
||||
char *name, const char *routine)
|
||||
|
|
|
@ -43,8 +43,6 @@ static int debug;
|
|||
#define PL2303_BUF_SIZE 1024
|
||||
#define PL2303_TMP_BUF_SIZE 1024
|
||||
|
||||
static DECLARE_MUTEX(pl2303_tmp_buf_sem);
|
||||
|
||||
struct pl2303_buf {
|
||||
unsigned int buf_size;
|
||||
char *buf_buf;
|
||||
|
|
Loading…
Reference in a new issue