diff options
author | Jiri Slaby <jslaby@suse.cz> | 2012-04-02 11:54:03 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-04-09 18:18:35 (GMT) |
commit | 005ce07f8068f9970f522a1a4ffeb9a9d108479a (patch) | |
tree | 0b94b3acc1019e0f38ee8be2aa4932bafdcf7be8 | |
parent | 875d54aa820cd029e324719585e243f5dfca4713 (diff) | |
download | linux-005ce07f8068f9970f522a1a4ffeb9a9d108479a.tar.xz |
TTY: hso, do not set TTY MAGIC
It is set in alloc_tty_driver already. No need to re-set.
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Cc: Jan Dumon <j.dumon@option.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/net/usb/hso.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/usb/hso.c b/drivers/net/usb/hso.c index 2d2a688..abe47ad 100644 --- a/drivers/net/usb/hso.c +++ b/drivers/net/usb/hso.c @@ -3312,7 +3312,6 @@ static int __init hso_init(void) return -ENOMEM; /* fill in all needed values */ - tty_drv->magic = TTY_DRIVER_MAGIC; tty_drv->driver_name = driver_name; tty_drv->name = tty_filename; |