diff options
author | Adrian Bunk <bunk@stusta.de> | 2006-01-13 21:08:16 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-14 13:41:42 -0500 |
commit | 3824ba7df91745da6ebac703c87c3b801c34fdd0 (patch) | |
tree | d613f40e6812042956098d638940c975a920ff8c /arch | |
parent | e1b114ee90040af5108973abd1a82babc4905868 (diff) |
[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>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/ia64/hp/sim/simserial.c | 1 | ||||
-rw-r--r-- | arch/ppc/4xx_io/serial_sicc.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/arch/ia64/hp/sim/simserial.c b/arch/ia64/hp/sim/simserial.c index 27f23fa5ca15..626cdc83668b 100644 --- a/arch/ia64/hp/sim/simserial.c +++ b/arch/ia64/hp/sim/simserial.c | |||
@@ -108,7 +108,6 @@ static struct async_struct *IRQ_ports[NR_IRQS]; | |||
108 | static struct console *console; | 108 | static struct console *console; |
109 | 109 | ||
110 | static unsigned char *tmp_buf; | 110 | static unsigned char *tmp_buf; |
111 | static DECLARE_MUTEX(tmp_buf_sem); | ||
112 | 111 | ||
113 | extern struct console *console_drivers; /* from kernel/printk.c */ | 112 | extern struct console *console_drivers; /* from kernel/printk.c */ |
114 | 113 | ||
diff --git a/arch/ppc/4xx_io/serial_sicc.c b/arch/ppc/4xx_io/serial_sicc.c index ebc4db8fcc63..8ace2a1f3b48 100644 --- a/arch/ppc/4xx_io/serial_sicc.c +++ b/arch/ppc/4xx_io/serial_sicc.c | |||
@@ -215,7 +215,6 @@ static struct tty_driver *siccnormal_driver; | |||
215 | * memory if large numbers of serial ports are open. | 215 | * memory if large numbers of serial ports are open. |
216 | */ | 216 | */ |
217 | static u_char *tmp_buf; | 217 | static u_char *tmp_buf; |
218 | static DECLARE_MUTEX(tmp_buf_sem); | ||
219 | 218 | ||
220 | #define HIGH_BITS_OFFSET ((sizeof(long)-sizeof(int))*8) | 219 | #define HIGH_BITS_OFFSET ((sizeof(long)-sizeof(int))*8) |
221 | 220 | ||