summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorzy <[email protected]>2023-11-27 22:24:06 -0500
committerzy <[email protected]>2023-11-27 22:24:06 -0500
commit57a8972aa4151d11b9e771cb82a5201de472c4e3 (patch)
treebcad3f80283c6e527a3b1774bc8c614ccbcfa5c5 /source
parent5e650478fb4b8ae27f63f584b1dd5c8597fc142a (diff)
do_each_thread: remove alway true
Diffstat (limited to 'source')
-rw-r--r--source/module/monitor_kernel_lib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/module/monitor_kernel_lib.c b/source/module/monitor_kernel_lib.c
index b5cf793..de8eb8c 100644
--- a/source/module/monitor_kernel_lib.c
+++ b/source/module/monitor_kernel_lib.c
@@ -329,7 +329,7 @@ int diag_test(int nid) {
do_each_thread(g, p) {
if (p->__state == TASK_RUNNING || __task_contributes_to_load(p) ||
- p->__state == TASK_IDLE || 1) {
+ p->__state == TASK_IDLE) {
get_task_struct(p);