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:
Родитель
875d54aa82
Коммит
005ce07f80
|
@ -3312,7 +3312,6 @@ static int __init hso_init(void)
|
||||||
return -ENOMEM;
|
return -ENOMEM;
|
||||||
|
|
||||||
/* fill in all needed values */
|
/* fill in all needed values */
|
||||||
tty_drv->magic = TTY_DRIVER_MAGIC;
|
|
||||||
tty_drv->driver_name = driver_name;
|
tty_drv->driver_name = driver_name;
|
||||||
tty_drv->name = tty_filename;
|
tty_drv->name = tty_filename;
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче