From: Tsutomu Itoh Date: Thu, 18 Apr 2013 07:10:44 +0000 (+0000) Subject: Btrfs: remove unused variable in __process_changed_new_xattr() X-Git-Tag: Ubuntu-5.4-5.4.0-11.14~16666^2~22 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=ba1eeaac99ce15063d8bc156e03f8b75aa471647;p=mirror_ubuntu-focal-kernel.git Btrfs: remove unused variable in __process_changed_new_xattr() Variable 'p' is not used any more. So, remove it. Signed-off-by: Tsutomu Itoh Signed-off-by: Josef Bacik --- diff --git a/fs/btrfs/send.c b/fs/btrfs/send.c index e0c69a106c77..158b91984b60 100644 --- a/fs/btrfs/send.c +++ b/fs/btrfs/send.c @@ -3479,7 +3479,6 @@ static int __process_changed_new_xattr(int num, struct btrfs_key *di_key, struct send_ctx *sctx = ctx; char *found_data = NULL; int found_data_len = 0; - struct fs_path *p = NULL; ret = find_xattr(sctx, sctx->parent_root, sctx->right_path, sctx->cmp_key, name, name_len, &found_data, @@ -3498,7 +3497,6 @@ static int __process_changed_new_xattr(int num, struct btrfs_key *di_key, } kfree(found_data); - fs_path_free(sctx, p); return ret; }