summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/send.c
diff options
context:
space:
mode:
authorMasahiro Yamada2016-09-12 21:35:52 +0200
committerDavid Sterba2016-09-26 18:08:38 +0200
commite2c8990734874061d144184dbf0d66e2827c216f (patch)
treedb7e9e2e3a5c56ee271892af33dcc50a1d5f3355 /fs/btrfs/send.c
parentBtrfs: improve check_node to avoid reading corrupted nodes (diff)
downloadkernel-qcow2-linux-e2c8990734874061d144184dbf0d66e2827c216f.tar.gz
kernel-qcow2-linux-e2c8990734874061d144184dbf0d66e2827c216f.tar.xz
kernel-qcow2-linux-e2c8990734874061d144184dbf0d66e2827c216f.zip
btrfs: squash lines for simple wrapper functions
Remove unneeded variables and assignments. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/send.c')
-rw-r--r--fs/btrfs/send.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/fs/btrfs/send.c b/fs/btrfs/send.c
index a87675ffd02b..bc7185c20f32 100644
--- a/fs/btrfs/send.c
+++ b/fs/btrfs/send.c
@@ -4398,12 +4398,8 @@ static int process_new_xattr(struct send_ctx *sctx)
static int process_deleted_xattr(struct send_ctx *sctx)
{
- int ret;
-
- ret = iterate_dir_item(sctx->parent_root, sctx->right_path,
- sctx->cmp_key, __process_deleted_xattr, sctx);
-
- return ret;
+ return iterate_dir_item(sctx->parent_root, sctx->right_path,
+ sctx->cmp_key, __process_deleted_xattr, sctx);
}
struct find_xattr_ctx {