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>
This commit is contained in:
parent
6ec3070298
commit
3b23d77b42
|
@ -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++) {
|
for (idx = 0; idx <= CCI_PMU_CNTR_LAST(cci_pmu); idx++) {
|
||||||
struct perf_event *event = events->events[idx];
|
struct perf_event *event = events->events[idx];
|
||||||
struct hw_perf_event *hw_counter;
|
|
||||||
|
|
||||||
if (!event)
|
if (!event)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
hw_counter = &event->hw;
|
|
||||||
|
|
||||||
/* Did this counter overflow? */
|
/* Did this counter overflow? */
|
||||||
if (!(pmu_read_register(cci_pmu, idx, CCI_PMU_OVRFLW) &
|
if (!(pmu_read_register(cci_pmu, idx, CCI_PMU_OVRFLW) &
|
||||||
CCI_PMU_OVRFLW_FLAG))
|
CCI_PMU_OVRFLW_FLAG))
|
||||||
|
|
Loading…
Reference in New Issue