Commit 828ebb8f authored by Mariusz Gorski's avatar Mariusz Gorski Committed by Greg Kroah-Hartman

staging: lustre: Use __init and __exit markers for lifecycle functions

Apply __init marker to module's init function and __exit to module's
exit function as they both have no other usage.
Signed-off-by: default avatarMariusz Gorski <marius.gorski@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 87ebccf9
...@@ -110,7 +110,7 @@ lnet_ioctl(unsigned int cmd, struct libcfs_ioctl_data *data) ...@@ -110,7 +110,7 @@ lnet_ioctl(unsigned int cmd, struct libcfs_ioctl_data *data)
DECLARE_IOCTL_HANDLER(lnet_ioctl_handler, lnet_ioctl); DECLARE_IOCTL_HANDLER(lnet_ioctl_handler, lnet_ioctl);
static int static int __init
init_lnet(void) init_lnet(void)
{ {
int rc; int rc;
...@@ -135,7 +135,7 @@ init_lnet(void) ...@@ -135,7 +135,7 @@ init_lnet(void)
return 0; return 0;
} }
static void static void __exit
fini_lnet(void) fini_lnet(void)
{ {
int rc; int rc;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment