TTY: isdn, remove callout
I wonder how this survived there during the whole 2.6 series until now :D. Callouts are not used for a decade, so let us remove it also from isdn. This means removal of ISDN_ASYNC_CALLOUT_ACTIVE which is never raised in info->flags and callout_termios which are never used. This will help us to get rid of ISDN_ASYNC_* flags and use ASYNC ones from serial.h. And then we will switch to tty_port. Signed-off-by: Jiri Slaby <jslaby@suse.cz> Cc: Karsten Keil <isdn@linux-pingi.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
1ca6711ec0
commit
05eb48be91
2 changed files with 6 additions and 29 deletions
|
@ -393,7 +393,6 @@ typedef struct isdn_net_dev_s {
|
|||
|
||||
#define ISDN_ASYNC_MAGIC 0x49344C01 /* for paranoia-checking */
|
||||
#define ISDN_ASYNC_INITIALIZED 0x80000000 /* port was initialized */
|
||||
#define ISDN_ASYNC_CALLOUT_ACTIVE 0x40000000 /* Call out device active */
|
||||
#define ISDN_ASYNC_NORMAL_ACTIVE 0x20000000 /* Normal device active */
|
||||
#define ISDN_ASYNC_CLOSING 0x08000000 /* Serial port is closing */
|
||||
#define ISDN_ASYNC_CTS_FLOW 0x04000000 /* Do CTS flow control */
|
||||
|
@ -498,8 +497,6 @@ typedef struct modem_info {
|
|||
#endif
|
||||
struct tty_struct *tty; /* Pointer to corresponding tty */
|
||||
atemu emu; /* AT-emulator data */
|
||||
struct ktermios normal_termios; /* For saving termios structs */
|
||||
struct ktermios callout_termios;
|
||||
wait_queue_head_t open_wait, close_wait;
|
||||
spinlock_t readlock;
|
||||
} modem_info;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue