mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-17 02:36:21 +00:00
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: kernel test robot <lkp@intel.com> Closes: https://lore.kernel.org/oe-kbuild-all/202402270649.GYjNX0yw-lkp@intel.com/ Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Reviewed-by: Randy Dunlap <rdunlap@infradead.org> Tested-by: Randy Dunlap <rdunlap@infradead.org> # build-tested Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
This commit is contained in:
parent
fda0b98ef0
commit
d30ff89870
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user