| commit | 72cc80705122926b2717ad420abc6e135c453768 | [log] [tgz] |
|---|---|---|
| author | Paul E. McKenney <paulmck@kernel.org> | Thu Aug 20 11:26:14 2020 -0700 |
| committer | Paul E. McKenney <paulmck@kernel.org> | Thu Aug 20 11:26:14 2020 -0700 |
| tree | f1a813287d347b040e8b169864a766e546ea3fad | |
| parent | fe5d89cc025b3efe682cac122bc4d39f4722821e [diff] |
rcu: Remove unused "cpu" parameter from rcu_report_qs_rdp() The "cpu" parameter to rcu_report_qs_rdp() is not used, with rdp->cpu being used instead. Furtheremore, every call to rcu_report_qs_rdp() invokes it on rdp->cpu. This commit therefore removes this unused "cpu" parameter and converts a check of rdp->cpu against smp_processor_id() to a WARN_ON_ONCE(). Reported-by: Jann Horn <jannh@google.com> Signed-off-by: Paul E. McKenney <paulmck@kernel.org>