summaryrefslogtreecommitdiffstats
path: root/fs/btrfs
diff options
context:
space:
mode:
authorTsutomu Itoh <t-itoh@jp.fujitsu.com>2013-04-18 07:10:44 +0000
committerJosef Bacik <jbacik@fusionio.com>2013-05-06 15:55:12 -0400
commitba1eeaac99ce15063d8bc156e03f8b75aa471647 (patch)
treed612d0d3e8f4f3efb78bea1a13e6b06851484ea5 /fs/btrfs
parent54067ae95e1547123fe6ffcf80842e234effd53b (diff)
downloadlinux-stable-ba1eeaac99ce15063d8bc156e03f8b75aa471647.tar.gz
linux-stable-ba1eeaac99ce15063d8bc156e03f8b75aa471647.tar.bz2
linux-stable-ba1eeaac99ce15063d8bc156e03f8b75aa471647.zip
Btrfs: remove unused variable in __process_changed_new_xattr()
Variable 'p' is not used any more. So, remove it. Signed-off-by: Tsutomu Itoh <t-itoh@jp.fujitsu.com> Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Diffstat (limited to 'fs/btrfs')
-rw-r--r--fs/btrfs/send.c2
1 files changed, 0 insertions, 2 deletions
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;
}