do_each_thread: remove alway true
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user