From 005ce07f8068f9970f522a1a4ffeb9a9d108479a Mon Sep 17 00:00:00 2001 From: Jiri Slaby Date: Mon, 2 Apr 2012 13:54:03 +0200 Subject: 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 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; -- cgit v0.10.2