summaryrefslogtreecommitdiff
path: root/utils.c
diff options
context:
space:
mode:
authorAnand Jain <anand.jain@oracle.com>2014-09-13 09:21:22 +0800
committerDavid Sterba <dsterba@suse.cz>2014-10-10 10:38:34 +0200
commit3638e1080051804220db05cdd24ccc50bd8e46c0 (patch)
treeb17e93b58a462fa842a6f42dc4c8344316d70f6e /utils.c
parent5444864e5605090be1cdbfb690a9b429fb9c2203 (diff)
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 <anand.jain@oracle.com> Signed-off-by: David Sterba <dsterba@suse.cz>
Diffstat (limited to 'utils.c')
-rw-r--r--utils.c15
1 files changed, 0 insertions, 15 deletions
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;