mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-14 15:54:15 +08:00
drivers/isdn/i4l/isdn_tty.c: remove write_sem
I couldn't find any users, so removing it.. Signed-off-by: Daniel Walker <dwalker@mvista.com> Cc: Karsten Keil <kkeil@suse.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
eb31005eaf
commit
4749380ed6
@ -1917,7 +1917,6 @@ isdn_tty_modem_init(void)
|
|||||||
info->owner = THIS_MODULE;
|
info->owner = THIS_MODULE;
|
||||||
#endif
|
#endif
|
||||||
spin_lock_init(&info->readlock);
|
spin_lock_init(&info->readlock);
|
||||||
init_MUTEX(&info->write_sem);
|
|
||||||
sprintf(info->last_cause, "0000");
|
sprintf(info->last_cause, "0000");
|
||||||
sprintf(info->last_num, "none");
|
sprintf(info->last_num, "none");
|
||||||
info->last_dir = 0;
|
info->last_dir = 0;
|
||||||
|
@ -507,7 +507,6 @@ typedef struct modem_info {
|
|||||||
struct ktermios normal_termios; /* For saving termios structs */
|
struct ktermios normal_termios; /* For saving termios structs */
|
||||||
struct ktermios callout_termios;
|
struct ktermios callout_termios;
|
||||||
wait_queue_head_t open_wait, close_wait;
|
wait_queue_head_t open_wait, close_wait;
|
||||||
struct semaphore write_sem;
|
|
||||||
spinlock_t readlock;
|
spinlock_t readlock;
|
||||||
} modem_info;
|
} modem_info;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user