KVM: arm/arm64: Remove unused timer variable
authorShaokun Zhang <zhangshaokun@hisilicon.com>
Fri, 22 Feb 2019 06:34:29 +0000 (14:34 +0800)
committerMarc Zyngier <marc.zyngier@arm.com>
Fri, 22 Feb 2019 09:41:52 +0000 (09:41 +0000)
commit7f5d9c1bc0e6c13ba01546e9c6fda083764a4e9c
tree5047461ccdd7ec23191e1f4c53809a399f86f143
parentc2be79a0bcf34ed975787e03a129936df17ec0dc
KVM: arm/arm64: Remove unused timer variable

The 'timer' local variable became unused after commit bee038a67487
("KVM: arm/arm64: Rework the timer code to use a timer_map").
Remove it to avoid [-Wunused-but-set-variable] warning.

Cc: Christoffer Dall <christoffer.dall@arm.com>
Cc: James Morse <james.morse@arm.com>
Cc: Suzuki K Pouloze <suzuki.poulose@arm.com>
Reviewed-by: Julien Thierry <julien.thierry@arm.com>
Signed-off-by: Shaokun Zhang <zhangshaokun@hisilicon.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
virt/kvm/arm/arch_timer.c