Skip to content

Commit c6da721

Browse files
jdreaverakpm00
authored andcommitted
checkpatch: remove migrated RCU APIs from deprecated_apis
The deprecated_apis map was created in [1] so checkpatch would flag deprecated RCU APIs. These deprecated APIs have since been removed from the kernel. This patch removes them from this map so checkpatch doesn't waste time looking for them, and so readers of checkpatch looking for deprecated APIs don't waste time searching for them. Link: https://lore.kernel.org/all/[email protected]/ [1] Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: David Reaver <[email protected]> Reviewed-by: Paul E. McKenney <[email protected]> Reviewed-by: Kuan-Wei Chiu <[email protected]> Acked-by: Joe Perches <[email protected]> Cc: Andy Whitcroft <[email protected]> Cc: Dwaipayan Ray <[email protected]> Cc: Krister Johansen <[email protected]> Cc: Lukas Bulwahn <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
1 parent 367a9bf commit c6da721

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

scripts/checkpatch.pl

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -834,16 +834,6 @@ sub find_standard_signature {
834834
$mode_perms_search = "(?:${mode_perms_search})";
835835

836836
our %deprecated_apis = (
837-
"synchronize_rcu_bh" => "synchronize_rcu",
838-
"synchronize_rcu_bh_expedited" => "synchronize_rcu_expedited",
839-
"call_rcu_bh" => "call_rcu",
840-
"rcu_barrier_bh" => "rcu_barrier",
841-
"synchronize_sched" => "synchronize_rcu",
842-
"synchronize_sched_expedited" => "synchronize_rcu_expedited",
843-
"call_rcu_sched" => "call_rcu",
844-
"rcu_barrier_sched" => "rcu_barrier",
845-
"get_state_synchronize_sched" => "get_state_synchronize_rcu",
846-
"cond_synchronize_sched" => "cond_synchronize_rcu",
847837
"kmap" => "kmap_local_page",
848838
"kunmap" => "kunmap_local",
849839
"kmap_atomic" => "kmap_local_page",

0 commit comments

Comments
 (0)