diff options
author | Will Deacon <will.deacon@arm.com> | 2016-02-26 17:14:25 +0100 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2016-03-01 00:23:17 +0100 |
commit | 3b23d77b4258558a317157b18cf418eeea4ca788 (patch) | |
tree | c782e9ef311afcc599eeb1d308aba305dbfb3402 /drivers/bus | |
parent | arm-cci: don't return value from void function (diff) | |
download | linux-3b23d77b4258558a317157b18cf418eeea4ca788.tar.xz linux-3b23d77b4258558a317157b18cf418eeea4ca788.zip |
arm-cci: remove unused variable
hw_counter is unused in the PMU IRQ handler, so remove it.
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'drivers/bus')
-rw-r--r-- | drivers/bus/arm-cci.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/bus/arm-cci.c b/drivers/bus/arm-cci.c index afe64ab2c06b..a49b28378d59 100644 --- a/drivers/bus/arm-cci.c +++ b/drivers/bus/arm-cci.c @@ -1077,13 +1077,10 @@ static irqreturn_t pmu_handle_irq(int irq_num, void *dev) */ for (idx = 0; idx <= CCI_PMU_CNTR_LAST(cci_pmu); idx++) { struct perf_event *event = events->events[idx]; - struct hw_perf_event *hw_counter; if (!event) continue; - hw_counter = &event->hw; - /* Did this counter overflow? */ if (!(pmu_read_register(cci_pmu, idx, CCI_PMU_OVRFLW) & CCI_PMU_OVRFLW_FLAG)) |