summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
d55478b)
Signed-off-by: Michael Buesch <mb@bu3sch.de>
* list_empty - tests whether a list is empty
* @head: the list to test.
*/
* list_empty - tests whether a list is empty
* @head: the list to test.
*/
-static inline int list_empty(struct list_head *head)
+static inline int list_empty(const struct list_head *head)
{
return head->next == head;
}
{
return head->next == head;
}