[14/15] btrfs: sysfs, merge btrfs_sysfs_remove_fsid() helper function
diff mbox series

Message ID 20191118084656.3089-15-anand.jain@oracle.com
State New
Headers show
Series
  • btrfs: sysfs, cleanups
Related show

Commit Message

Anand Jain Nov. 18, 2019, 8:46 a.m. UTC
Merge __btrfs_sysfs_remove_fsid() into its only caller
btrfs_sysfs_remove_fsid().

Signed-off-by: Anand Jain <anand.jain@oracle.com>
---
 fs/btrfs/sysfs.c | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

Patch
diff mbox series

diff --git a/fs/btrfs/sysfs.c b/fs/btrfs/sysfs.c
index 34bf080ea530..74210ef59641 100644
--- a/fs/btrfs/sysfs.c
+++ b/fs/btrfs/sysfs.c
@@ -1070,7 +1070,7 @@  static struct kset *btrfs_kset;
 /*
  * Remove /sys/fs/btrfs/UUID/devices and /sysfs/btrfs/UUID
  */
-static void __btrfs_sysfs_remove_fsid(struct btrfs_fs_info *fs_info)
+void btrfs_sysfs_remove_fsid(struct btrfs_fs_info *fs_info)
 {
 	struct btrfs_fs_devices *fs_devices = fs_info->fs_devices;
 
@@ -1087,11 +1087,6 @@  static void __btrfs_sysfs_remove_fsid(struct btrfs_fs_info *fs_info)
 	}
 }
 
-void btrfs_sysfs_remove_fsid(struct btrfs_fs_info *fs_info)
-{
-	__btrfs_sysfs_remove_fsid(fs_info);
-}
-
 /*
  * Creates:
  * 	/sys/fs/btrfs/UUID