[PATCH 1/2] checkpatch: remove RCU APIs in deprecated_apis map
From: Yu Liao
Date: Thu Sep 12 2024 - 08:00:12 EST
After commit 6ba7d681aca2 ("rcu: Remove wrapper definitions for
obsolete RCU update functions"), the definitions for these RCU APIs
have been removed, so there is no longer any need to retain them in the
deprecated_apis map.
Signed-off-by: Yu Liao <liaoyu15@xxxxxxxxxx>
---
scripts/checkpatch.pl | 10 ----------
1 file changed, 10 deletions(-)
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
index 4427572b2477..ca60a2db223a 100755
--- a/scripts/checkpatch.pl
+++ b/scripts/checkpatch.pl
@@ -834,16 +834,6 @@ foreach my $entry (@mode_permission_funcs) {
$mode_perms_search = "(?:${mode_perms_search})";
our %deprecated_apis = (
- "synchronize_rcu_bh" => "synchronize_rcu",
- "synchronize_rcu_bh_expedited" => "synchronize_rcu_expedited",
- "call_rcu_bh" => "call_rcu",
- "rcu_barrier_bh" => "rcu_barrier",
- "synchronize_sched" => "synchronize_rcu",
- "synchronize_sched_expedited" => "synchronize_rcu_expedited",
- "call_rcu_sched" => "call_rcu",
- "rcu_barrier_sched" => "rcu_barrier",
- "get_state_synchronize_sched" => "get_state_synchronize_rcu",
- "cond_synchronize_sched" => "cond_synchronize_rcu",
"kmap" => "kmap_local_page",
"kunmap" => "kunmap_local",
"kmap_atomic" => "kmap_local_page",
--
2.33.0