s390/cpumf: remove call to perf_event_update_userpage
authorThomas Richter <tmricht@linux.ibm.com>
Mon, 26 Apr 2021 12:57:16 +0000 (14:57 +0200)
committerHeiko Carstens <hca@linux.ibm.com>
Fri, 30 Apr 2021 15:17:01 +0000 (17:17 +0200)
commitb0583ab47788617c6af484a844f13c57d7567c2a
tree1a33bc8b1e90151607b3603ab0b6e100cfdf3565
parent1eefa4f4399b74dc7671c4e34c1b1c6244acff22
s390/cpumf: remove call to perf_event_update_userpage

The function cpumf_pmu_add and cpumf_pmu_del call function
perf_event_update_userpage(). This calls is obsolete, the calls add and
delete a counter event. Counter events do not sample data and the
event->rb member to access the sampling ring buffer is always NULL.
The function perf_event_update_userpage() simply returns in this case.

Signed-off-by: Thomas Richter <tmricht@linux.ibm.com>
Acked-by : Sumanth Korikkar <sumanthk@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
arch/s390/kernel/perf_cpum_cf.c