aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/platform/surface/aggregator/ssh_parser.c
diff options
context:
space:
mode:
authorPaul E. McKenney <[email protected]>2020-08-20 18:26:14 +0000
committerPaul E. McKenney <[email protected]>2020-08-25 01:40:28 +0000
commitcfeac3977ab4b6222a01f79997739d2367a8cc94 (patch)
tree707963754755696b24aa3c0da8fff15bd5e1910a /drivers/platform/surface/aggregator/ssh_parser.c
parentrcu: Report QS for outermost PREEMPT=n rcu_read_unlock() for strict GPs (diff)
downloadkernel-cfeac3977ab4b6222a01f79997739d2367a8cc94.tar.gz
kernel-cfeac3977ab4b6222a01f79997739d2367a8cc94.zip
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 'drivers/platform/surface/aggregator/ssh_parser.c')
0 files changed, 0 insertions, 0 deletions