diff options
| -rw-r--r-- | kernel/cpu.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/kernel/cpu.c b/kernel/cpu.c index 93e9d89bb0ab..373e831e0faa 100644 --- a/kernel/cpu.c +++ b/kernel/cpu.c | |||
| @@ -1231,8 +1231,6 @@ static int cpuhp_cb_check(enum cpuhp_state state) | |||
| 1231 | 1231 | ||
| 1232 | static bool cpuhp_is_ap_state(enum cpuhp_state state) | 1232 | static bool cpuhp_is_ap_state(enum cpuhp_state state) |
| 1233 | { | 1233 | { |
| 1234 | if (state >= CPUHP_AP_OFFLINE && state <= CPUHP_AP_ONLINE) | ||
| 1235 | return true; | ||
| 1236 | return state > CPUHP_BRINGUP_CPU; | 1234 | return state > CPUHP_BRINGUP_CPU; |
| 1237 | } | 1235 | } |
| 1238 | 1236 | ||
