You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
[PATCH] Convert users to tty_unregister_ldisc()
tty_register_ldisc(N_FOO, NULL) => tty_unregister_ldisc(N_FOO) Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
committed by
Linus Torvalds
parent
bfb07599da
commit
64ccd715d3
+1
-1
@@ -1430,7 +1430,7 @@ static void __exit slip_exit(void)
|
||||
kfree(slip_devs);
|
||||
slip_devs = NULL;
|
||||
|
||||
if ((i = tty_register_ldisc(N_SLIP, NULL)))
|
||||
if ((i = tty_unregister_ldisc(N_SLIP)))
|
||||
{
|
||||
printk(KERN_ERR "SLIP: can't unregister line discipline (err = %d)\n", i);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user