Commit d30ff898 authored by Stefan Hajnoczi's avatar Stefan Hajnoczi Committed by Miklos Szeredi

virtiofs: drop __exit from virtio_fs_sysfs_exit()

virtio_fs_sysfs_exit() is called by:
- static int __init virtio_fs_init(void)
- static void __exit virtio_fs_exit(void)

Remove __exit from virtio_fs_sysfs_exit() since virtio_fs_init() is not
an __exit function.
Reported-by: default avatarkernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202402270649.GYjNX0yw-lkp@intel.com/Signed-off-by: default avatarStefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: default avatarRandy Dunlap <rdunlap@infradead.org>
Tested-by: Randy Dunlap <rdunlap@infradead.org> # build-tested
Signed-off-by: default avatarMiklos Szeredi <mszeredi@redhat.com>
parent fda0b98e
......@@ -1588,7 +1588,7 @@ static int __init virtio_fs_sysfs_init(void)
return 0;
}
static void __exit virtio_fs_sysfs_exit(void)
static void virtio_fs_sysfs_exit(void)
{
kset_unregister(virtio_fs_kset);
virtio_fs_kset = NULL;
......
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