提交 28e9509b 编写于 作者: G Gustavo F. Padovan 提交者: Marcel Holtmann

Bluetooth: Remove __exit from rfcomm_cleanup_ttys()

rfcomm_cleanup_ttys() is also called from rfcomm_init(), so it can't
have __exit.
Reported-by: NMat Martineau <mathewm@codeaurora.org>
Signed-off-by: NGustavo F. Padovan <padovan@profusion.mobi>
Signed-off-by: NMarcel Holtmann <marcel@holtmann.org>
上级 ea4bd8ba
...@@ -1183,7 +1183,7 @@ int __init rfcomm_init_ttys(void) ...@@ -1183,7 +1183,7 @@ int __init rfcomm_init_ttys(void)
return 0; return 0;
} }
void __exit rfcomm_cleanup_ttys(void) void rfcomm_cleanup_ttys(void)
{ {
tty_unregister_driver(rfcomm_tty_driver); tty_unregister_driver(rfcomm_tty_driver);
put_tty_driver(rfcomm_tty_driver); put_tty_driver(rfcomm_tty_driver);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册