diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c index 77fa2d99252f56ee47d4379149bb06b3d6815f34..4c4ed0bb3da1bfc02a5dad41f66bdaf52c49aa71 100644 --- a/fs/btrfs/disk-io.c +++ b/fs/btrfs/disk-io.c @@ -3440,10 +3440,7 @@ static int write_all_supers(struct btrfs_root *root, int max_mirrors) int write_ctree_super(struct btrfs_trans_handle *trans, struct btrfs_root *root, int max_mirrors) { - int ret; - - ret = write_all_supers(root, max_mirrors); - return ret; + return write_all_supers(root, max_mirrors); } /* Drop a fs root from the radix tree and free it. */