TTY: hso, do not set TTY MAGIC
authorJiri Slaby <jslaby@suse.cz>
Mon, 2 Apr 2012 11:54:03 +0000 (13:54 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 9 Apr 2012 18:18:35 +0000 (11:18 -0700)
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>
drivers/net/usb/hso.c

index 2d2a6882ba337dc79194319bb58c531f8c76d4d8..abe47ad59479ecb2a2c5708cd6ec23d60d68731e 100644 (file)
@@ -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;