Commit f53d5404 authored by Dave Jones's avatar Dave Jones Committed by Linus Torvalds

[PATCH] misc 3c505 bits

- Remove unneeded breaks
- Fix double spin_unlock_irqrestore problem
parent ca5ce26a
...@@ -449,18 +449,18 @@ static int send_pcb(struct net_device *dev, pcb_struct * pcb) ...@@ -449,18 +449,18 @@ static int send_pcb(struct net_device *dev, pcb_struct * pcb)
case ASF_PCB_ACK: case ASF_PCB_ACK:
adapter->send_pcb_semaphore = 0; adapter->send_pcb_semaphore = 0;
return TRUE; return TRUE;
break;
case ASF_PCB_NAK: case ASF_PCB_NAK:
#ifdef ELP_DEBUG #ifdef ELP_DEBUG
printk(KERN_DEBUG "%s: send_pcb got NAK\n", dev->name); printk(KERN_DEBUG "%s: send_pcb got NAK\n", dev->name);
#endif #endif
goto abort; goto abort;
break;
} }
} }
if (elp_debug >= 1) if (elp_debug >= 1)
printk(KERN_DEBUG "%s: timeout waiting for PCB acknowledge (status %02x)\n", dev->name, inb_status(dev->base_addr)); printk(KERN_DEBUG "%s: timeout waiting for PCB acknowledge (status %02x)\n", dev->name, inb_status(dev->base_addr));
goto abort;
sti_abort: sti_abort:
spin_unlock_irqrestore(&adapter->lock, flags); spin_unlock_irqrestore(&adapter->lock, flags);
......
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