diff options
author | Jiri Slaby <jslaby@suse.cz> | 2012-04-02 13:54:03 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-04-09 11:18:35 -0700 |
commit | 005ce07f8068f9970f522a1a4ffeb9a9d108479a (patch) | |
tree | 0b94b3acc1019e0f38ee8be2aa4932bafdcf7be8 /drivers/net/usb/hso.c | |
parent | 875d54aa820cd029e324719585e243f5dfca4713 (diff) |
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>
Diffstat (limited to 'drivers/net/usb/hso.c')
-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 2d2a6882ba33..abe47ad59479 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; |