File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ void q_free(struct list_head *head)
24
24
return ;
25
25
}
26
26
struct list_head * node , * safe ;
27
- list_for_each_safe (node , safe , head ) {
27
+ list_for_each_safe (node , safe , head ) {
28
28
element_t * current = list_entry (node , element_t , list );
29
29
q_release_element (current );
30
30
}
@@ -102,7 +102,7 @@ int q_size(struct list_head *head)
102
102
int len = 0 ;
103
103
struct list_head * li ;
104
104
105
- list_for_each (li , head )
105
+ list_for_each (li , head )
106
106
len ++ ;
107
107
return len ;
108
108
}
@@ -167,7 +167,7 @@ void q_reverse(struct list_head *head)
167
167
if (!head || list_empty (head ))
168
168
return ;
169
169
struct list_head * curr , * safe ;
170
- list_for_each_safe (curr , safe , head )
170
+ list_for_each_safe (curr , safe , head )
171
171
list_move (curr , head );
172
172
}
173
173
You can’t perform that action at this time.
0 commit comments