Commit cb217905 authored by Linus Torvalds's avatar Linus Torvalds

parport: fix warning - "flags" is unused after cli/sti removal.

parent ac7823e4
......@@ -1002,7 +1002,6 @@ int parport_claim_or_block(struct pardevice *dev)
/* Try to claim the port. If this fails, we need to sleep. */
r = parport_claim(dev);
if (r == -EAGAIN) {
unsigned long flags;
#ifdef PARPORT_DEBUG_SHARING
printk(KERN_DEBUG "%s: parport_claim() returned -EAGAIN\n", dev->name);
#endif
......
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