diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2016-09-12 21:35:52 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2016-09-26 18:08:38 +0200 |
commit | e2c8990734874061d144184dbf0d66e2827c216f (patch) | |
tree | db7e9e2e3a5c56ee271892af33dcc50a1d5f3355 /fs/btrfs/send.c | |
parent | Btrfs: improve check_node to avoid reading corrupted nodes (diff) | |
download | linux-e2c8990734874061d144184dbf0d66e2827c216f.tar.xz 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.c | 8 |
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 { |