From: Eric Sandeen Date: Thu, 31 Jan 2013 00:54:59 +0000 (+0000) Subject: btrfs: remove unused "item" in btrfs_insert_delayed_item() X-Git-Tag: upstream/snapshot3+hdmi~5352^2~57^2~35 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d4c0a7da214d7915200d3e64c058ef36771186f2;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git btrfs: remove unused "item" in btrfs_insert_delayed_item() "item" was set but never used in this function. Signed-off-by: Eric Sandeen Signed-off-by: Josef Bacik --- diff --git a/fs/btrfs/delayed-inode.c b/fs/btrfs/delayed-inode.c index c7e7506..0b278b1 100644 --- a/fs/btrfs/delayed-inode.c +++ b/fs/btrfs/delayed-inode.c @@ -875,7 +875,6 @@ static int btrfs_insert_delayed_item(struct btrfs_trans_handle *trans, struct btrfs_delayed_item *delayed_item) { struct extent_buffer *leaf; - struct btrfs_item *item; char *ptr; int ret; @@ -886,7 +885,6 @@ static int btrfs_insert_delayed_item(struct btrfs_trans_handle *trans, leaf = path->nodes[0]; - item = btrfs_item_nr(leaf, path->slots[0]); ptr = btrfs_item_ptr(leaf, path->slots[0], char); write_extent_buffer(leaf, delayed_item->data, (unsigned long)ptr,