diff options
author | Zeng Heng <zengheng4@huawei.com> | 2022-09-15 11:38:24 +0300 |
---|---|---|
committer | Paul E. McKenney <paulmck@kernel.org> | 2022-10-19 00:59:57 +0300 |
commit | b5ad0d2e8832c770b3ff2887ae37b47f42a3ab82 (patch) | |
tree | 334228e44116eb755b069a770914fc0913b5ad6a /include/linux/rcutree.h | |
parent | 6343402ac35dd534291a6c82924a4f09cf6cd1e5 (diff) | |
download | linux-b5ad0d2e8832c770b3ff2887ae37b47f42a3ab82.tar.xz |
rcu: Remove unused 'cpu' in rcu_virt_note_context_switch()
This commit removes the unused function argument 'cpu'. This does not
change functionality, but might save a cycle or two.
Signed-off-by: Zeng Heng <zengheng4@huawei.com>
Acked-by: Mukesh Ojha <quic_mojha@quicinc.com>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'include/linux/rcutree.h')
-rw-r--r-- | include/linux/rcutree.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/rcutree.h b/include/linux/rcutree.h index 5efb51486e8a..70795386b9ff 100644 --- a/include/linux/rcutree.h +++ b/include/linux/rcutree.h @@ -27,7 +27,7 @@ void rcu_cpu_stall_reset(void); * wrapper around rcu_note_context_switch(), which allows TINY_RCU * to save a few bytes. The caller must have disabled interrupts. */ -static inline void rcu_virt_note_context_switch(int cpu) +static inline void rcu_virt_note_context_switch(void) { rcu_note_context_switch(false); } |