mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-28 15:20:41 +00:00
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 <bzolnier@gmail.com>
This commit is contained in:
parent
b163f46d5e
commit
7c199a5496
1 changed files with 0 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue