diff options
author | Paul E. McKenney <paulmck@kernel.org> | 2024-10-16 09:19:29 -0700 |
---|---|---|
committer | Frederic Weisbecker <frederic@kernel.org> | 2024-10-23 18:00:17 +0200 |
commit | 26ff1fb02991e1260481185bb5ccab1ee498d5e4 (patch) | |
tree | 3a72625c5f0bb15dff4bdc1117f6b545dbda980a /include/linux | |
parent | f7345ccc62a4b880cf76458db5f320725f28e400 (diff) | |
download | linux-stable-26ff1fb02991e1260481185bb5ccab1ee498d5e4.tar.gz linux-stable-26ff1fb02991e1260481185bb5ccab1ee498d5e4.tar.bz2 linux-stable-26ff1fb02991e1260481185bb5ccab1ee498d5e4.zip |
rcu: Delete unused rcu_gp_might_be_stalled() function
The rcu_gp_might_be_stalled() function is no longer used, so this commit
removes it.
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Reviewed-by: Joel Fernandes (Google) <joel@joelfernandes.org>
Signed-off-by: Frederic Weisbecker <frederic@kernel.org>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/rcutiny.h | 1 | ||||
-rw-r--r-- | include/linux/rcutree.h | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/rcutiny.h b/include/linux/rcutiny.h index 0ee270b3f5ed..fe42315f667f 100644 --- a/include/linux/rcutiny.h +++ b/include/linux/rcutiny.h @@ -165,7 +165,6 @@ static inline bool rcu_inkernel_boot_has_ended(void) { return true; } static inline bool rcu_is_watching(void) { return true; } static inline void rcu_momentary_eqs(void) { } static inline void kfree_rcu_scheduler_running(void) { } -static inline bool rcu_gp_might_be_stalled(void) { return false; } /* Avoid RCU read-side critical sections leaking across. */ static inline void rcu_all_qs(void) { barrier(); } diff --git a/include/linux/rcutree.h b/include/linux/rcutree.h index 90a684f94776..27d86d912781 100644 --- a/include/linux/rcutree.h +++ b/include/linux/rcutree.h @@ -40,7 +40,6 @@ void kvfree_rcu_barrier(void); void rcu_barrier(void); void rcu_momentary_eqs(void); void kfree_rcu_scheduler_running(void); -bool rcu_gp_might_be_stalled(void); struct rcu_gp_oldstate { unsigned long rgos_norm; |