KVM: x86: KVM_IRQCHIP_PIC_MASTER only has 8 pins
authorDavid Hildenbrand <david@redhat.com>
Fri, 7 Apr 2017 08:50:30 +0000 (10:50 +0200)
committerRadim Krčmář <rkrcmar@redhat.com>
Wed, 12 Apr 2017 18:17:14 +0000 (20:17 +0200)
commit445ee82d7a9752a2ab3b678fc348c91a54c1782e
tree52e0827f6dd6006e07bbec60f4cda766622cef17
parent49f520b99af13d8cafec6f227dabf6acf236c887
KVM: x86: KVM_IRQCHIP_PIC_MASTER only has 8 pins

Currently, one could set pin 8-15, implicitly referring to
KVM_IRQCHIP_PIC_SLAVE.

Get rid of the two local variables max_pin and delta on the way.

Signed-off-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
arch/x86/kvm/irq_comm.c