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

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
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -110,7 +110,7 @@ lnet_ioctl(unsigned int cmd, struct libcfs_ioctl_data *data)

DECLARE_IOCTL_HANDLER(lnet_ioctl_handler, lnet_ioctl);

static int
static int __init
init_lnet(void)
{
	int		  rc;
@@ -135,7 +135,7 @@ init_lnet(void)
	return 0;
}

static void
static void __exit
fini_lnet(void)
{
	int rc;