summaryrefslogtreecommitdiff
path: root/print-tree.c
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2016-11-02 10:08:55 +0100
committerDavid Sterba <dsterba@suse.com>2016-11-09 13:47:30 +0100
commitae00d4a2518dbaa4a7894ef17a61d41fb81acad1 (patch)
tree094084fa4ec556a4298a53148253ef58cc013537 /print-tree.c
parent15db981600fe21382248168014d427e69bd0deb5 (diff)
btrfs-progs: remove unused parameter from print_inode_item
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'print-tree.c')
-rw-r--r--print-tree.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/print-tree.c b/print-tree.c
index 08f757d4..3a3704b3 100644
--- a/print-tree.c
+++ b/print-tree.c
@@ -947,8 +947,8 @@ static void print_timespec(struct extent_buffer *eb,
timestamp, suffix);
}
-static void print_inode_item(struct extent_buffer *eb, struct btrfs_item *item,
- struct btrfs_inode_item *ii)
+static void print_inode_item(struct extent_buffer *eb,
+ struct btrfs_inode_item *ii)
{
char flags_str[256];
@@ -1091,7 +1091,7 @@ void btrfs_print_leaf(struct btrfs_root *root, struct extent_buffer *l)
switch (type) {
case BTRFS_INODE_ITEM_KEY:
ii = btrfs_item_ptr(l, i, struct btrfs_inode_item);
- print_inode_item(l, item, ii);
+ print_inode_item(l, ii);
break;
case BTRFS_INODE_REF_KEY:
iref = btrfs_item_ptr(l, i, struct btrfs_inode_ref);