aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/disk-io.c
diff options
context:
space:
mode:
authorStefan Behrens <sbehrens@giantdisaster.de>2013-05-13 14:42:57 +0000
committerJosef Bacik <jbacik@fusionio.com>2013-06-14 11:29:29 -0400
commitb1b195969fe6d936f8c8bb63abf7efd2cc4cd5cf (patch)
tree1a0d7212e262dbef9b47c157b749b03d5a349d63 /fs/btrfs/disk-io.c
parent78a1068b28681b1bd2a718d77f6067b31f33f83c (diff)
downloadkernel_goldelico_gta04-b1b195969fe6d936f8c8bb63abf7efd2cc4cd5cf.zip
kernel_goldelico_gta04-b1b195969fe6d936f8c8bb63abf7efd2cc4cd5cf.tar.gz
kernel_goldelico_gta04-b1b195969fe6d936f8c8bb63abf7efd2cc4cd5cf.tar.bz2
Btrfs: cleanup, btrfs_read_fs_root_no_name() doesn't return NULL
No need to check for NULL in send.c and disk-io.c. Signed-off-by: Stefan Behrens <sbehrens@giantdisaster.de> Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Diffstat (limited to 'fs/btrfs/disk-io.c')
-rw-r--r--fs/btrfs/disk-io.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c
index df5169b..bc2ea9b 100644
--- a/fs/btrfs/disk-io.c
+++ b/fs/btrfs/disk-io.c
@@ -2821,8 +2821,6 @@ retry_root_backup:
location.offset = (u64)-1;
fs_info->fs_root = btrfs_read_fs_root_no_name(fs_info, &location);
- if (!fs_info->fs_root)
- goto fail_qgroup;
if (IS_ERR(fs_info->fs_root)) {
err = PTR_ERR(fs_info->fs_root);
goto fail_qgroup;