mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 09:41:03 -04:00
Style. Remove excessive brackets. Compare non-boolean with zero.
Sponsored by: The FreeBSD Foundation MFC after: 2 weeks
This commit is contained in:
parent
63e8633e80
commit
03bbcb2f0c
1 changed files with 4 additions and 4 deletions
|
|
@ -1346,8 +1346,8 @@ ithread_loop(void *arg)
|
|||
* set again, so we have to check it again.
|
||||
*/
|
||||
thread_lock(td);
|
||||
if ((atomic_load_acq_int(&ithd->it_need) == 0) &&
|
||||
!(ithd->it_flags & (IT_DEAD | IT_WAIT))) {
|
||||
if (atomic_load_acq_int(&ithd->it_need) == 0 &&
|
||||
(ithd->it_flags & (IT_DEAD | IT_WAIT)) == 0) {
|
||||
TD_SET_IWAIT(td);
|
||||
ie->ie_count = 0;
|
||||
mi_switch(SW_VOL | SWT_IWAIT, NULL);
|
||||
|
|
@ -1529,8 +1529,8 @@ ithread_loop(void *arg)
|
|||
* set again, so we have to check it again.
|
||||
*/
|
||||
thread_lock(td);
|
||||
if ((atomic_load_acq_int(&ithd->it_need) == 0) &&
|
||||
!(ithd->it_flags & (IT_DEAD | IT_WAIT))) {
|
||||
if (atomic_load_acq_int(&ithd->it_need) == 0 &&
|
||||
(ithd->it_flags & (IT_DEAD | IT_WAIT)) == 0) {
|
||||
TD_SET_IWAIT(td);
|
||||
ie->ie_count = 0;
|
||||
mi_switch(SW_VOL | SWT_IWAIT, NULL);
|
||||
|
|
|
|||
Loading…
Reference in a new issue