mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-19 18:53:52 +08:00
btrfs: remove unused "item" in btrfs_insert_delayed_item()
"item" was set but never used in this function. Signed-off-by: Eric Sandeen <sandeen@redhat.com> Signed-off-by: Josef Bacik <jbacik@fusionio.com>
This commit is contained in:
parent
37252a66f3
commit
d4c0a7da21
@ -875,7 +875,6 @@ static int btrfs_insert_delayed_item(struct btrfs_trans_handle *trans,
|
|||||||
struct btrfs_delayed_item *delayed_item)
|
struct btrfs_delayed_item *delayed_item)
|
||||||
{
|
{
|
||||||
struct extent_buffer *leaf;
|
struct extent_buffer *leaf;
|
||||||
struct btrfs_item *item;
|
|
||||||
char *ptr;
|
char *ptr;
|
||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
@ -886,7 +885,6 @@ static int btrfs_insert_delayed_item(struct btrfs_trans_handle *trans,
|
|||||||
|
|
||||||
leaf = path->nodes[0];
|
leaf = path->nodes[0];
|
||||||
|
|
||||||
item = btrfs_item_nr(leaf, path->slots[0]);
|
|
||||||
ptr = btrfs_item_ptr(leaf, path->slots[0], char);
|
ptr = btrfs_item_ptr(leaf, path->slots[0], char);
|
||||||
|
|
||||||
write_extent_buffer(leaf, delayed_item->data, (unsigned long)ptr,
|
write_extent_buffer(leaf, delayed_item->data, (unsigned long)ptr,
|
||||||
|
Loading…
Reference in New Issue
Block a user