From f1637bd8ebb69c576d280eb250896cb328207716 Mon Sep 17 00:00:00 2001 From: Anand Jain Date: Tue, 16 Apr 2013 17:28:44 +0800 Subject: [PATCH] btrfs-progs: delete unused function btrfs_read_super_device Signed-off-by: Anand Jain --- volumes.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/volumes.c b/volumes.c index 3e52d06..d6f81f8 100644 --- a/volumes.c +++ b/volumes.c @@ -1641,15 +1641,6 @@ static int read_one_dev(struct btrfs_root *root, return ret; } -int btrfs_read_super_device(struct btrfs_root *root, struct extent_buffer *buf) -{ - struct btrfs_dev_item *dev_item; - - dev_item = (struct btrfs_dev_item *)offsetof(struct btrfs_super_block, - dev_item); - return read_one_dev(root, buf, dev_item); -} - int btrfs_read_sys_array(struct btrfs_root *root) { struct btrfs_super_block *super_copy = root->fs_info->super_copy; -- 2.7.4