From: Adrian Bunk tmp_buf_sem sems to be a common name for something completely unused... Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton --- drivers/char/serial167.c | 1 - drivers/serial/68328serial.c | 1 - 2 files changed, 2 deletions(-) diff -puN drivers/char/serial167.c~remove-unused-tmp_buf_sems drivers/char/serial167.c --- devel/drivers/char/serial167.c~remove-unused-tmp_buf_sems 2006-01-13 20:50:22.000000000 -0800 +++ devel-akpm/drivers/char/serial167.c 2006-01-13 20:50:22.000000000 -0800 @@ -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 diff -puN drivers/serial/68328serial.c~remove-unused-tmp_buf_sems drivers/serial/68328serial.c --- devel/drivers/serial/68328serial.c~remove-unused-tmp_buf_sems 2006-01-13 20:50:22.000000000 -0800 +++ devel-akpm/drivers/serial/68328serial.c 2006-01-13 20:50:22.000000000 -0800 @@ -143,7 +143,6 @@ static int m68328_console_cbaud = DEFA * 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) _