Update kern_event.c

Change the code style guide.
This commit is contained in:
wenchengji 2024-05-23 23:03:49 +08:00 committed by GitHub
parent 3a242c1379
commit 880fddc324
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -2222,9 +2222,9 @@ kqueue_wakeup(struct kqueue *kq)
} }
if (!knlist_empty(&kq->kq_sel.si_note)) if (!knlist_empty(&kq->kq_sel.si_note))
#ifndef FSTACK #ifndef FSTACK
kqueue_schedtask(kq); kqueue_schedtask(kq);
#else #else
KNOTE_UNLOCKED(&kq->kq_sel.si_note, 0); KNOTE_UNLOCKED(&kq->kq_sel.si_note, 0);
#endif #endif
if ((kq->kq_state & KQ_ASYNC) == KQ_ASYNC) { if ((kq->kq_state & KQ_ASYNC) == KQ_ASYNC) {
pgsigio(&kq->kq_sigio, SIGIO, 0); pgsigio(&kq->kq_sigio, SIGIO, 0);