Skip to content

Commit 316f0b4

Browse files
computersforpeacerafaeljw
authored andcommitted
coccinelle: Drop pm_runtime_barrier() error code checks
This function doesn't return anything any more, so the compiler would notice any bad error handling before any cocci script would. Signed-off-by: Brian Norris <briannorris@chromium.org> Tested-by: Guenter Roeck <linux@roeck-us.net> Link: https://patch.msgid.link/20251202193129.1411419-3-briannorris@chromium.org Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
1 parent 41f7351 commit 316f0b4

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

scripts/coccinelle/api/pm_runtime.cocci

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ ret@p = \(pm_runtime_idle\|
3737
pm_runtime_put_sync_autosuspend\|
3838
pm_runtime_set_active\|
3939
pm_schedule_suspend\|
40-
pm_runtime_barrier\|
4140
pm_generic_runtime_suspend\|
4241
pm_generic_runtime_resume\)(...);
4342
...

0 commit comments

Comments
 (0)