diff options
| author | Paul E. McKenney <[email protected]> | 2020-08-20 11:26:14 -0700 |
|---|---|---|
| committer | Paul E. McKenney <[email protected]> | 2020-08-24 18:40:28 -0700 |
| commit | cfeac3977ab4b6222a01f79997739d2367a8cc94 (patch) | |
| tree | 707963754755696b24aa3c0da8fff15bd5e1910a /arch/mips/include/asm/mach-netlogic/multi-node.h | |
| parent | aa40c138cc8f36e2f5c721fd1bdb823a1ef1a237 (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 <[email protected]>
Signed-off-by: Paul E. McKenney <[email protected]>
Diffstat (limited to 'arch/mips/include/asm/mach-netlogic/multi-node.h')
0 files changed, 0 insertions, 0 deletions