s390/cpum_sf: Remove initialization of PMU event index
authorHendrik Brueckner <brueckner@linux.vnet.ibm.com>
Mon, 20 Oct 2014 13:41:39 +0000 (15:41 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 3 Nov 2014 12:30:45 +0000 (13:30 +0100)
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>
arch/s390/kernel/perf_cpum_sf.c

index 08e761318c17d786d2e40ce85fcd0b631fecc731..8e1b77530060c6572dd9d9cf132810e31e110e98 100644 (file)
@@ -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;