Stick with an only version as requested by levex
@@ -16,11 +16,8 @@ static inline void list_init(struct list * head)
static inline boolean list_empty(struct list * head)
{
-#ifdef __APPLE__
assert(((head->next == head) ^ (head->prev == head)) == 0);
-#else
- assert((head->next == head) ^ (head->prev == head) == 0);
-#endif
+
return (head->next == head);
}
