projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
76c0021
)
btrfs: remove unused ulist members
author
David Sterba
<
[email protected]
>
Thu, 9 Feb 2017 15:47:43 +0000
(16:47 +0100)
committer
David Sterba
<
[email protected]
>
Fri, 17 Feb 2017 11:03:47 +0000
(12:03 +0100)
Commit "btrfs: ulist: Add ulist_del() function" (
d4b804045924d7f8
)
removed some debugging code but left the structure defintions.
Reviewed-by: Qu Wenruo <
[email protected]
>
Reviewed-by: Liu Bo <
[email protected]
>
Signed-off-by: David Sterba <
[email protected]
>
fs/btrfs/ulist.h
patch
|
blob
|
history
diff --git
a/fs/btrfs/ulist.h
b/fs/btrfs/ulist.h
index a01a2c45825f5c8cfa569218850acd91c3cf3e1c..007b22fff3f9ff4e5353d7f243f77dd75ea76f12 100644
(file)
--- a/
fs/btrfs/ulist.h
+++ b/
fs/btrfs/ulist.h
@@
-19,9
+19,6
@@
*
*/
struct ulist_iterator {
-#ifdef CONFIG_BTRFS_DEBUG
- int i;
-#endif
struct list_head *cur_list; /* hint to start search */
};
@@
-32,10
+29,6
@@
struct ulist_node {
u64 val; /* value to store */
u64 aux; /* auxiliary value saved along with the val */
-#ifdef CONFIG_BTRFS_DEBUG
- int seqnum; /* sequence number this node is added */
-#endif
-
struct list_head list; /* used to link node */
struct rb_node rb_node; /* used to speed up search */
};