Commit 41534d4
mm/slub: Refactor note_cmpxchg_failure for better readability
Use IS_ENABLED() and standard if-else to make the code clearer.
Signed-off-by: Ye Liu <[email protected]>
Reviewed-by: Harry Yoo <[email protected]>
Reviewed-by: Christoph Lameter (Ampere) <[email protected]>
Reviewed-by: Anshuman Khandual <[email protected]>
Signed-off-by: Vlastimil Babka <[email protected]>1 parent ba7a896 commit 41534d4
1 file changed
Lines changed: 5 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3069 | 3069 | | |
3070 | 3070 | | |
3071 | 3071 | | |
3072 | | - | |
3073 | | - | |
| 3072 | + | |
| 3073 | + | |
3074 | 3074 | | |
3075 | 3075 | | |
3076 | | - | |
3077 | | - | |
3078 | | - | |
| 3076 | + | |
3079 | 3077 | | |
3080 | 3078 | | |
3081 | | - | |
| 3079 | + | |
3082 | 3080 | | |
3083 | 3081 | | |
| 3082 | + | |
3084 | 3083 | | |
3085 | 3084 | | |
3086 | 3085 | | |
| |||
0 commit comments