aboutsummaryrefslogtreecommitdiff
path: root/drivers/firmware/psci/psci_checker.c
diff options
context:
space:
mode:
authorPeter Zijlstra <[email protected]>2020-04-22 13:10:04 +0200
committerPeter Zijlstra <[email protected]>2020-06-15 14:10:26 +0200
commit8b700983de82f79e05b2c1136d6513ea4c9b22c4 (patch)
tree6ae6fadb83d60b6f7d460598e317b00c74f11f6e /drivers/firmware/psci/psci_checker.c
parent616d91b68cd56bcb1954b6a5af7d542401fde772 (diff)
sched: Remove sched_set_*() return value
Ingo suggested that since the new sched_set_*() functions are implemented using the 'nocheck' variants, they really shouldn't ever fail, so remove the return value. Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Suggested-by: Ingo Molnar <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Reviewed-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'drivers/firmware/psci/psci_checker.c')
-rw-r--r--drivers/firmware/psci/psci_checker.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/firmware/psci/psci_checker.c b/drivers/firmware/psci/psci_checker.c
index a5279a430274..6fff482847e7 100644
--- a/drivers/firmware/psci/psci_checker.c
+++ b/drivers/firmware/psci/psci_checker.c
@@ -281,8 +281,7 @@ static int suspend_test_thread(void *arg)
wait_for_completion(&suspend_threads_started);
/* Set maximum priority to preempt all other threads on this CPU. */
- if (sched_set_fifo(current))
- pr_warn("Failed to set suspend thread scheduler on CPU %d\n", cpu);
+ sched_set_fifo(current);
dev = this_cpu_read(cpuidle_devices);
drv = cpuidle_get_cpu_driver(dev);