We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7bb7862 commit bc0d83aCopy full SHA for bc0d83a
qtest.c
@@ -882,7 +882,7 @@ static bool is_circular()
882
struct list_head *cur = current->q->next;
883
struct list_head *fast = (cur) ? cur->next : NULL;
884
while (cur != current->q) {
885
- if (!cur || !fast || !(fast->next))
+ if (!cur || !fast || !fast->next)
886
return false;
887
if (cur == fast)
888
@@ -893,7 +893,7 @@ static bool is_circular()
893
cur = current->q->prev;
894
fast = (cur) ? cur->prev : NULL;
895
896
- if (!cur || !fast || !(fast->prev))
+ if (!cur || !fast || !fast->prev)
897
898
cur = cur->prev;
899
fast = fast->prev->prev;
0 commit comments