summaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorJiri Slaby <jslaby@suse.cz>2012-04-02 13:54:03 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-04-09 11:18:35 -0700
commit005ce07f8068f9970f522a1a4ffeb9a9d108479a (patch)
tree0b94b3acc1019e0f38ee8be2aa4932bafdcf7be8 /drivers/net
parent875d54aa820cd029e324719585e243f5dfca4713 (diff)
downloadblackbird-op-linux-005ce07f8068f9970f522a1a4ffeb9a9d108479a.tar.gz
blackbird-op-linux-005ce07f8068f9970f522a1a4ffeb9a9d108479a.zip
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')
-rw-r--r--drivers/net/usb/hso.c1
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;
OpenPOWER on IntegriCloud