OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
37252a6
)
btrfs: remove unused "item" in btrfs_insert_delayed_item()
author
Eric Sandeen
<sandeen@redhat.com>
Thu, 31 Jan 2013 00:54:59 +0000
(
00:54
+0000)
committer
Josef Bacik
<jbacik@fusionio.com>
Wed, 20 Feb 2013 17:59:23 +0000
(12:59 -0500)
"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>
fs/btrfs/delayed-inode.c
patch
|
blob
|
history
diff --git
a/fs/btrfs/delayed-inode.c
b/fs/btrfs/delayed-inode.c
index
c7e7506
..
0b278b1
100644
(file)
--- 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,