diff options
author | David Sterba <dsterba@suse.com> | 2017-02-09 10:47:43 -0500 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2017-02-17 06:03:47 -0500 |
commit | 66bbc1c0c0b283600abd187bf8c8c25ab7549307 (patch) | |
tree | 95afe06c0d173a4cd9d1047a5defb45439a3e5be | |
parent | 76c0021db8fdd9c68fbbace15067f3ab6d57d77a (diff) |
btrfs: remove unused ulist members
Commit "btrfs: ulist: Add ulist_del() function" (d4b804045924d7f8)
removed some debugging code but left the structure defintions.
Reviewed-by: Qu Wenruo <quwenruo@cn.fujitsu.com>
Reviewed-by: Liu Bo <bo.li.liu@oracle.com>
Signed-off-by: David Sterba <dsterba@suse.com>
-rw-r--r-- | fs/btrfs/ulist.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/fs/btrfs/ulist.h b/fs/btrfs/ulist.h index a01a2c45825f..007b22fff3f9 100644 --- a/fs/btrfs/ulist.h +++ b/fs/btrfs/ulist.h | |||
@@ -19,9 +19,6 @@ | |||
19 | * | 19 | * |
20 | */ | 20 | */ |
21 | struct ulist_iterator { | 21 | struct ulist_iterator { |
22 | #ifdef CONFIG_BTRFS_DEBUG | ||
23 | int i; | ||
24 | #endif | ||
25 | struct list_head *cur_list; /* hint to start search */ | 22 | struct list_head *cur_list; /* hint to start search */ |
26 | }; | 23 | }; |
27 | 24 | ||
@@ -32,10 +29,6 @@ struct ulist_node { | |||
32 | u64 val; /* value to store */ | 29 | u64 val; /* value to store */ |
33 | u64 aux; /* auxiliary value saved along with the val */ | 30 | u64 aux; /* auxiliary value saved along with the val */ |
34 | 31 | ||
35 | #ifdef CONFIG_BTRFS_DEBUG | ||
36 | int seqnum; /* sequence number this node is added */ | ||
37 | #endif | ||
38 | |||
39 | struct list_head list; /* used to link node */ | 32 | struct list_head list; /* used to link node */ |
40 | struct rb_node rb_node; /* used to speed up search */ | 33 | struct rb_node rb_node; /* used to speed up search */ |
41 | }; | 34 | }; |