]> git.baikalelectronics.ru Git - kernel.git/commitdiff
btrfs: tree-checker: remove duplicate definition of 'inode_item_err'
authorZheng Wei <wei.zheng@vivo.com>
Mon, 16 Mar 2020 03:45:57 +0000 (11:45 +0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 25 May 2020 09:25:23 +0000 (11:25 +0200)
Remove the duplicate definition of 'inode_item_err' in the file
tree-checker.c that got there by accident in dfc2e3e49d7a ("btrfs:
tree-checker: Refactor inode key check into seperate function").

Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: Zheng Wei <wei.zheng@vivo.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/tree-checker.c

index a92f8a6dd192911b0922de13ebc72ba4fd2ed367..517b44300a05c940586ebcaa69e8881f21a722d0 100644 (file)
@@ -957,10 +957,6 @@ static int check_dev_item(struct extent_buffer *leaf,
        return 0;
 }
 
-/* Inode item error output has the same format as dir_item_err() */
-#define inode_item_err(eb, slot, fmt, ...)                     \
-       dir_item_err(eb, slot, fmt, __VA_ARGS__)
-
 static int check_inode_item(struct extent_buffer *leaf,
                            struct btrfs_key *key, int slot)
 {