diff options
author | Shrikanth Hegde <[email protected]> | 2024-02-16 11:44:33 +0530 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2024-02-16 09:37:15 +0100 |
commit | 8cec3dd9e5930c82c6bd0af3fdb3a36bcd428310 (patch) | |
tree | ebe7703f397ef831cf348e9c1e0cb6d6eca01b3d /scripts/rustdoc_test_builder.rs | |
parent | 841c35169323cd833294798e58b9bf63fa4fa1de (diff) |
sched/core: Simplify code by removing duplicate #ifdefs
There's a few cases of nested #ifdefs in the scheduler code
that can be simplified:
#ifdef DEFINE_A
...code block...
#ifdef DEFINE_A <-- This is a duplicate.
...code block...
#endif
#else
#ifndef DEFINE_A <-- This is also duplicate.
...code block...
#endif
#endif
More details about the script and methods used to find these code
patterns can be found at:
https://lore.kernel.org/all/[email protected]/
No change in functionality intended.
[ mingo: Clarified the changelog. ]
Signed-off-by: Shrikanth Hegde <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Reviewed-by: Vincent Guittot <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/rustdoc_test_builder.rs')
0 files changed, 0 insertions, 0 deletions