Commit b35e316b authored by Rolf Eike Beer's avatar Rolf Eike Beer Committed by Greg Kroah-Hartman

[PATCH] PCI Hotplug: very small optimisations for ibmphp_pci.c

parent cc4b6c40
...@@ -49,7 +49,7 @@ static u8 find_sec_number (u8 primary_busno, u8 slotno); ...@@ -49,7 +49,7 @@ static u8 find_sec_number (u8 primary_busno, u8 slotno);
*/ */
static void assign_alt_irq (struct pci_func * cur_func, u8 class_code) static void assign_alt_irq (struct pci_func * cur_func, u8 class_code)
{ {
int j = 0; int j;
for (j = 0; j < 4; j++) { for (j = 0; j < 4; j++) {
if (cur_func->irq[j] == 0xff) { if (cur_func->irq[j] == 0xff) {
switch (class_code) { switch (class_code) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment