summaryrefslogtreecommitdiffstats
path: root/net/nfc
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>2021-07-30 16:41:57 +0200
committerJakub Kicinski <kuba@kernel.org>2021-07-30 17:22:51 +0200
commitbf6cd7720b08571875ccdbcb6449e11d8415a283 (patch)
treed52f0ab6c0be926d269b8f191f587ccf0ef8f911 /net/nfc
parent3833b87408e5722e0b43b9b73f58d17db47a4c98 (diff)
downloadlinux-bf6cd7720b08571875ccdbcb6449e11d8415a283.tar.gz
linux-bf6cd7720b08571875ccdbcb6449e11d8415a283.tar.bz2
linux-bf6cd7720b08571875ccdbcb6449e11d8415a283.zip
nfc: annotate af_nfc_exit() as __exit
The af_nfc_exit() is used only in other __exit annotated context (nfc_exit()). Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/nfc')
-rw-r--r--net/nfc/af_nfc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/nfc/af_nfc.c b/net/nfc/af_nfc.c
index 4a9e72073564..6024fad905ff 100644
--- a/net/nfc/af_nfc.c
+++ b/net/nfc/af_nfc.c
@@ -79,7 +79,7 @@ int __init af_nfc_init(void)
return sock_register(&nfc_sock_family_ops);
}
-void af_nfc_exit(void)
+void __exit af_nfc_exit(void)
{
sock_unregister(PF_NFC);
}