Merge tag 'driver-core-5.11-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux-2.6-microblaze.git] / drivers / ide / ide-probe.c
index 1ddc45a..430b29e 100644 (file)
@@ -1592,9 +1592,6 @@ EXPORT_SYMBOL_GPL(ide_port_unregister_devices);
 
 static void ide_unregister(ide_hwif_t *hwif)
 {
-       BUG_ON(in_interrupt());
-       BUG_ON(irqs_disabled());
-
        mutex_lock(&ide_cfg_mtx);
 
        if (hwif->present) {