projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b163f46
)
ide: remove no longer needed BUG_ON()-s from init_irq()
author
Bartlomiej Zolnierkiewicz
<bzolnier@gmail.com>
Fri, 10 Oct 2008 20:39:23 +0000
(22:39 +0200)
committer
Bartlomiej Zolnierkiewicz
<bzolnier@gmail.com>
Fri, 10 Oct 2008 20:39:23 +0000
(22:39 +0200)
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 <bzolnier@gmail.com>
drivers/ide/ide-probe.c
patch
|
blob
|
history
diff --git
a/drivers/ide/ide-probe.c
b/drivers/ide/ide-probe.c
index ef773384aaa9d090f49385d31a03af61a97fdf3e..a27c0398b1533093245043b41813ecca4708ea7f 100644
(file)
--- 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