diff options
Diffstat (limited to 'drivers/ide/ide-probe.c')
-rw-r--r-- | drivers/ide/ide-probe.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/ide/ide-probe.c b/drivers/ide/ide-probe.c index ef773384aaa9..a27c0398b153 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) | |||
1031 | ide_hwgroup_t *hwgroup; | 1031 | ide_hwgroup_t *hwgroup; |
1032 | ide_hwif_t *match = NULL; | 1032 | ide_hwif_t *match = NULL; |
1033 | 1033 | ||
1034 | |||
1035 | BUG_ON(in_interrupt()); | ||
1036 | BUG_ON(irqs_disabled()); | ||
1037 | BUG_ON(hwif == NULL); | ||
1038 | |||
1039 | mutex_lock(&ide_cfg_mtx); | 1034 | mutex_lock(&ide_cfg_mtx); |
1040 | hwif->hwgroup = NULL; | 1035 | hwif->hwgroup = NULL; |
1041 | #if MAX_HWIFS > 1 | 1036 | #if MAX_HWIFS > 1 |