From: Jiri Slaby Date: Mon, 2 Apr 2012 11:54:03 +0000 (+0200) Subject: TTY: hso, do not set TTY MAGIC X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=005ce07f8068f9970f522a1a4ffeb9a9d108479a;p=linux-beck.git 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 Cc: Jan Dumon Signed-off-by: Greg Kroah-Hartman --- 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;