x86/ioapic: Simplify ioapic_setup_resources()
authorRui Wang <rui.y.wang@intel.com>
Wed, 8 Jun 2016 06:59:53 +0000 (14:59 +0800)
committerIngo Molnar <mingo@kernel.org>
Fri, 10 Jun 2016 12:48:18 +0000 (14:48 +0200)
commit4855531eb8582a98cb905d2baf86021254d7a675
tree7876926d4ce6a72586abee78e5205575ccfd5d4c
parent9d98bcec731756b8688b59ec998707924d716d7b
x86/ioapic: Simplify ioapic_setup_resources()

Optimize the function by removing the variable 'num'.

Signed-off-by: Rui Wang <rui.y.wang@intel.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: tony.luck@intel.com
Cc: linux-pci@vger.kernel.org
Cc: rjw@rjwysocki.net
Cc: linux-acpi@vger.kernel.org
Cc: bhelgaas@google.com
Link: http://lkml.kernel.org/r/1465369193-4816-4-git-send-email-rui.y.wang@intel.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/kernel/apic/io_apic.c