Btrfs: remove unused variable in the iterate_extent_inodes()
authorWang Shilong <wangsl-fnst@cn.fujitsu.com>
Tue, 16 Apr 2013 10:22:23 +0000 (10:22 +0000)
committerJosef Bacik <jbacik@fusionio.com>
Mon, 6 May 2013 19:54:56 +0000 (15:54 -0400)
Signed-off-by: Wang Shilong <wangsl-fnst@cn.fujitsu.com>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
fs/btrfs/backref.c

index 8623c74dfa0852d5f7f15c3aae02f5000b3516d8..23e927b191c9ea95ec26514b75f74876c08978ad 100644 (file)
@@ -1464,8 +1464,6 @@ int iterate_extent_inodes(struct btrfs_fs_info *fs_info,
                                iterate_extent_inodes_t *iterate, void *ctx)
 {
        int ret;
-       struct list_head data_refs = LIST_HEAD_INIT(data_refs);
-       struct list_head shared_refs = LIST_HEAD_INIT(shared_refs);
        struct btrfs_trans_handle *trans;
        struct ulist *refs = NULL;
        struct ulist *roots = NULL;