Skip to contentSkip to conversation

ide cleanups - remove unneeded BUG_ON()

PATCH New Eric Sesterhenn / snakebyte 1 participant 1 message Feb 1, 2006 Kernel janitors

lore
Share & tools
lore
#0 lore raw

PATCH 4/4 ide cleanups - remove unneeded BUG_ON()

hi,

according to Bartlomiej we dont need this BUG_ON, since it is too late in the initialisation sequence.

drivers/ide/ide-dma.c renamed from drivers/ide/ide-dma.c.orig +0 -2
@@ -945,8 +945,6 @@ void ide_setup_dma (ide_hwif_t *hwif, un
 		       hwif->drives[1].name, (dma_stat & 0x40) ? "DMA" : "pio");
 	}
 	printk("\n");
-
-	BUG_ON(!(hwif->dma_master));
 }
 
 EXPORT_SYMBOL_GPL(ide_setup_dma);

_______________________________________________
Kernel-janitors mailing list
[email protected]
https://lists.osdl.org/mailman/listinfo/kernel-janitors