diff options
| author | Jiri Slaby <jslaby@suse.cz> | 2012-04-02 07:53:51 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-04-09 14:16:54 -0400 |
| commit | ce93d33cf45db9893cfc725a2b470da15bfe4435 (patch) | |
| tree | 364b1ff9f6beead5f94746d674ed03a93ecc0184 /include/linux | |
| parent | 6776a2f07924192fd168bdceb1a00d10630edb4d (diff) | |
TTY: isdn, do not play with module refcounts
The module which called allocate_tty_driver is already refcounted by
the TTY layer automatically. And since THIS_MODULE is isdn_tty and it
allocated the tty_driver, there is no need to do the counts in isdn's
tty->ops->open/close.
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Cc: Karsten Keil <isdn@linux-pingi.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/isdn.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/isdn.h b/include/linux/isdn.h index 1b4b4c1846c5..66d9d71e003c 100644 --- a/include/linux/isdn.h +++ b/include/linux/isdn.h | |||
| @@ -435,7 +435,6 @@ typedef struct atemu { | |||
| 435 | /* Private data (similar to async_struct in <linux/serial.h>) */ | 435 | /* Private data (similar to async_struct in <linux/serial.h>) */ |
| 436 | typedef struct modem_info { | 436 | typedef struct modem_info { |
| 437 | int magic; | 437 | int magic; |
| 438 | struct module *owner; | ||
| 439 | int flags; /* defined in tty.h */ | 438 | int flags; /* defined in tty.h */ |
| 440 | int x_char; /* xon/xoff character */ | 439 | int x_char; /* xon/xoff character */ |
| 441 | int mcr; /* Modem control register */ | 440 | int mcr; /* Modem control register */ |
