From 3638e1080051804220db05cdd24ccc50bd8e46c0 Mon Sep 17 00:00:00 2001 From: Anand Jain Date: Sat, 13 Sep 2014 09:21:22 +0800 Subject: btrfs-progs: remove scan_for_btrfs() With the changes as in the previous patch, now scan_for_btrfs() is an unused function. So delete it. Signed-off-by: Anand Jain Signed-off-by: David Sterba --- utils.c | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'utils.c') diff --git a/utils.c b/utils.c index 2ac45157..e9306b05 100644 --- a/utils.c +++ b/utils.c @@ -2151,21 +2151,6 @@ int btrfs_scan_lblkid(int update_kernel) return 0; } -/* - * scans devs for the btrfs -*/ -int scan_for_btrfs(int where, int update_kernel) -{ - int ret = 0; - - switch (where) { - case BTRFS_SCAN_LBLKID: - ret = btrfs_scan_lblkid(update_kernel); - break; - } - return ret; -} - int is_vol_small(char *file) { int fd = -1; -- cgit v1.2.3