OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3833b87
)
nfc: annotate af_nfc_exit() as __exit
author
Krzysztof Kozlowski
<krzysztof.kozlowski@canonical.com>
Fri, 30 Jul 2021 14:41:57 +0000
(16:41 +0200)
committer
Jakub Kicinski
<kuba@kernel.org>
Fri, 30 Jul 2021 15:22:51 +0000
(17:22 +0200)
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>
net/nfc/af_nfc.c
patch
|
blob
|
history
diff --git
a/net/nfc/af_nfc.c
b/net/nfc/af_nfc.c
index
4a9e720
..
6024fad
100644
(file)
--- 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);
}