* td_list_empty - tests whether a list is empty * @head: the list to test. */ @ @ requires \valid_read(head); @ terminates \true; @ assigns \nothing; @*/
| 300 | @ assigns \nothing; |
| 301 | @*/ |
| 302 | static inline int td_list_empty(const struct td_list_head *head) |
| 303 | { |
| 304 | return head->next == head; |
| 305 | } |
| 306 | |
| 307 | #if 0 |
| 308 | /** |
no outgoing calls
no test coverage detected