diff options
author | Hendrik Brueckner <brueckner@linux.vnet.ibm.com> | 2014-10-20 13:41:39 (GMT) |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2014-11-03 12:30:45 (GMT) |
commit | eaf785d51dc6782da4cc87b5e891c8a9f8fa2c27 (patch) | |
tree | 89ee84c44506c9e1cd2677155e8d96bad4855289 /arch/s390/kernel | |
parent | 37d2cd9d84851a2bd4a4bcc0157880ee4d8b5803 (diff) | |
download | linux-eaf785d51dc6782da4cc87b5e891c8a9f8fa2c27.tar.xz |
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>
Diffstat (limited to 'arch/s390/kernel')
-rw-r--r-- | arch/s390/kernel/perf_cpum_sf.c | 1 |
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 08e7613..8e1b775 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; |