projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ec3070
)
arm-cci: remove unused variable
author
Will Deacon
<will.deacon@arm.com>
Fri, 26 Feb 2016 16:14:25 +0000
(16:14 +0000)
committer
Will Deacon
<will.deacon@arm.com>
Mon, 29 Feb 2016 23:23:17 +0000
(23:23 +0000)
hw_counter is unused in the PMU IRQ handler, so remove it.
Signed-off-by: Will Deacon <will.deacon@arm.com>
drivers/bus/arm-cci.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/bus/arm-cci.c
b/drivers/bus/arm-cci.c
index afe64ab2c06bbcf02044a7cbfe34b850c6d19925..a49b28378d5994851d7e217c42738a0a7584e50d 100644
(file)
--- 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))