Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 28e9509b authored by Gustavo Padovan's avatar Gustavo Padovan Committed by Marcel Holtmann
Browse files

Bluetooth: Remove __exit from rfcomm_cleanup_ttys()



rfcomm_cleanup_ttys() is also called from rfcomm_init(), so it can't
have __exit.

Reported-by: default avatarMat Martineau <mathewm@codeaurora.org>
Signed-off-by: default avatarGustavo F. Padovan <padovan@profusion.mobi>
Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
parent ea4bd8ba
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1183,7 +1183,7 @@ int __init rfcomm_init_ttys(void)
	return 0;
}

void __exit rfcomm_cleanup_ttys(void)
void rfcomm_cleanup_ttys(void)
{
	tty_unregister_driver(rfcomm_tty_driver);
	put_tty_driver(rfcomm_tty_driver);