Commit 53abe3e
sched: Remove never used code in mm_cid_get()
Clang is not happy with set but unused variable (this is visible
with `make W=1` build:
kernel/sched/sched.h:3744:18: error: variable 'cpumask' set but not used [-Werror,-Wunused-but-set-variable]
It seems like the variable was never used along with the assignment
that does not have side effects as far as I can see. Remove those
altogether.
Fixes: 223baf9 ("sched: Fix performance regression introduced by mm_cid")
Signed-off-by: Andy Shevchenko <[email protected]>
Tested-by: Eric Biggers <[email protected]>
Reviewed-by: Breno Leitao <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>1 parent 3d08a42 commit 53abe3e
1 file changed
+0
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3740 | 3740 | | |
3741 | 3741 | | |
3742 | 3742 | | |
3743 | | - | |
3744 | 3743 | | |
3745 | 3744 | | |
3746 | 3745 | | |
3747 | | - | |
3748 | 3746 | | |
3749 | 3747 | | |
3750 | 3748 | | |
| |||
0 commit comments