btrfs-progs: delete unused function btrfs_read_super_device

Signed-off-by: Anand Jain <anand.jain@oracle.com>
master
Anand Jain 2013-04-16 17:28:44 +08:00 committed by David Sterba
parent 580ccf9e2e
commit f1637bd8eb
1 changed files with 0 additions and 9 deletions

View File

@ -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;