Commit 91072686 authored by Alan Cox's avatar Alan Cox Committed by Linus Torvalds

[PATCH] ide-dma, fix bogus inc of waiting_for_dma

parent c4e28a0c
......@@ -786,7 +786,6 @@ int __ide_dma_test_irq (ide_drive_t *drive)
if (!drive->waiting_for_dma)
printk(KERN_WARNING "%s: (%s) called while not waiting\n",
drive->name, __FUNCTION__);
drive->waiting_for_dma++;
return 0;
}
......
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