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>
This commit is contained in:
parent
875d54aa82
commit
005ce07f80
1 changed files with 0 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue