Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3824ba7d authored by Adrian Bunk's avatar Adrian Bunk Committed by Linus Torvalds
Browse files

[PATCH] remove unused tmp_buf_sem's



tmp_buf_sem sems to be a common name for something completely unused...

Signed-off-by: default avatarAdrian Bunk <bunk@stusta.de>
Acked-by: Greg Kroah-Hartman <gregkh@suse.de> ("usb portion")
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent e1b114ee
Loading
Loading
Loading
Loading
+0 −1
Original line number Original line Diff line number Diff line
@@ -108,7 +108,6 @@ static struct async_struct *IRQ_ports[NR_IRQS];
static struct console *console;
static struct console *console;


static unsigned char *tmp_buf;
static unsigned char *tmp_buf;
static DECLARE_MUTEX(tmp_buf_sem);


extern struct console *console_drivers; /* from kernel/printk.c */
extern struct console *console_drivers; /* from kernel/printk.c */


+0 −1
Original line number Original line Diff line number Diff line
@@ -215,7 +215,6 @@ static struct tty_driver *siccnormal_driver;
 * memory if large numbers of serial ports are open.
 * memory if large numbers of serial ports are open.
 */
 */
static u_char *tmp_buf;
static u_char *tmp_buf;
static DECLARE_MUTEX(tmp_buf_sem);


#define HIGH_BITS_OFFSET    ((sizeof(long)-sizeof(int))*8)
#define HIGH_BITS_OFFSET    ((sizeof(long)-sizeof(int))*8)


+0 −1
Original line number Original line Diff line number Diff line
@@ -129,7 +129,6 @@ static struct serial_state rs_table[1];
 * memory if large numbers of serial ports are open.
 * memory if large numbers of serial ports are open.
 */
 */
static unsigned char *tmp_buf;
static unsigned char *tmp_buf;
static DECLARE_MUTEX(tmp_buf_sem);


#include <asm/uaccess.h>
#include <asm/uaccess.h>


+0 −1
Original line number Original line Diff line number Diff line
@@ -160,7 +160,6 @@ static void rs_wait_until_sent(struct tty_struct *, int);
 * memory if large numbers of serial ports are open.
 * memory if large numbers of serial ports are open.
 */
 */
static unsigned char *tmp_buf;
static unsigned char *tmp_buf;
static DECLARE_MUTEX(tmp_buf_sem);


static inline int serial_paranoia_check(struct esp_struct *info,
static inline int serial_paranoia_check(struct esp_struct *info,
					char *name, const char *routine)
					char *name, const char *routine)
+0 −1
Original line number Original line Diff line number Diff line
@@ -34,7 +34,6 @@
#define DEBUG 
#define DEBUG 


static char *                  tmp_buf; 
static char *                  tmp_buf; 
static DECLARE_MUTEX(tmp_buf_sem);


static int gs_debug;
static int gs_debug;


Loading