summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHendrik Brueckner <brueckner@linux.vnet.ibm.com>2014-10-20 15:41:39 +0200
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2014-11-03 13:30:45 +0100
commiteaf785d51dc6782da4cc87b5e891c8a9f8fa2c27 (patch)
tree89ee84c44506c9e1cd2677155e8d96bad4855289
parent37d2cd9d84851a2bd4a4bcc0157880ee4d8b5803 (diff)
downloadlinux-eaf785d51dc6782da4cc87b5e891c8a9f8fa2c27.tar.gz
linux-eaf785d51dc6782da4cc87b5e891c8a9f8fa2c27.tar.bz2
linux-eaf785d51dc6782da4cc87b5e891c8a9f8fa2c27.zip
s390/cpum_sf: Remove initialization of PMU event index
The git commit c719f56092add9b3d4192f57c64ce7af11105130 "perf: Fix and clean up initialization of pmu::event_idx" removed the PMU event index callback for all architectures but x86, remove the initialization of the event index as well. Signed-off-by: Hendrik Brueckner <brueckner@linux.vnet.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
-rw-r--r--arch/s390/kernel/perf_cpum_sf.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/s390/kernel/perf_cpum_sf.c b/arch/s390/kernel/perf_cpum_sf.c
index 08e761318c17..8e1b77530060 100644
--- a/arch/s390/kernel/perf_cpum_sf.c
+++ b/arch/s390/kernel/perf_cpum_sf.c
@@ -1383,7 +1383,6 @@ static int cpumsf_pmu_add(struct perf_event *event, int flags)
cpuhw->lsctl.ed = 1;
/* Set in_use flag and store event */
- event->hw.idx = 0; /* only one sampling event per CPU supported */
cpuhw->event = event;
cpuhw->flags |= PMU_F_IN_USE;