From: Krzysztof Kozlowski Date: Fri, 30 Jul 2021 14:41:57 +0000 (+0200) Subject: nfc: annotate af_nfc_exit() as __exit X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=bf6cd7720b08571875ccdbcb6449e11d8415a283;p=linux.git 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 Signed-off-by: Jakub Kicinski --- diff --git a/net/nfc/af_nfc.c b/net/nfc/af_nfc.c index 4a9e72073564a..6024fad905ff0 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); }