From: Bartlomiej Zolnierkiewicz Date: Fri, 10 Oct 2008 20:39:23 +0000 (+0200) Subject: ide: remove no longer needed BUG_ON()-s from init_irq() X-Git-Tag: v2.6.28-rc1~710^2~52 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=7c199a5496d0579d388636ee34a954e2e566d2fb;p=linux-2.6-omap-h63xx.git ide: remove no longer needed BUG_ON()-s from init_irq() init_irq() is now called only during initial host registration so these BUG_ON()-s are no loner needed (+ the last one was done too late anyway). Signed-off-by: Bartlomiej Zolnierkiewicz --- diff --git a/drivers/ide/ide-probe.c b/drivers/ide/ide-probe.c index ef773384aaa..a27c0398b15 100644 --- a/drivers/ide/ide-probe.c +++ b/drivers/ide/ide-probe.c @@ -1031,11 +1031,6 @@ static int init_irq (ide_hwif_t *hwif) ide_hwgroup_t *hwgroup; ide_hwif_t *match = NULL; - - BUG_ON(in_interrupt()); - BUG_ON(irqs_disabled()); - BUG_ON(hwif == NULL); - mutex_lock(&ide_cfg_mtx); hwif->hwgroup = NULL; #if MAX_HWIFS > 1