diff options
-rw-r--r-- | drivers/ide/ide-probe.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/ide/ide-probe.c b/drivers/ide/ide-probe.c index 63f67e3c2555..5deb7e717333 100644 --- a/drivers/ide/ide-probe.c +++ b/drivers/ide/ide-probe.c | |||
@@ -940,8 +940,6 @@ static int init_irq (ide_hwif_t *hwif) | |||
940 | irq_handler_t irq_handler; | 940 | irq_handler_t irq_handler; |
941 | int sa = 0; | 941 | int sa = 0; |
942 | 942 | ||
943 | mutex_lock(&ide_cfg_mtx); | ||
944 | |||
945 | irq_handler = hwif->host->irq_handler; | 943 | irq_handler = hwif->host->irq_handler; |
946 | if (irq_handler == NULL) | 944 | if (irq_handler == NULL) |
947 | irq_handler = ide_intr; | 945 | irq_handler = ide_intr; |
@@ -979,10 +977,8 @@ static int init_irq (ide_hwif_t *hwif) | |||
979 | printk(KERN_CONT " (serialized)"); | 977 | printk(KERN_CONT " (serialized)"); |
980 | printk(KERN_CONT "\n"); | 978 | printk(KERN_CONT "\n"); |
981 | 979 | ||
982 | mutex_unlock(&ide_cfg_mtx); | ||
983 | return 0; | 980 | return 0; |
984 | out_up: | 981 | out_up: |
985 | mutex_unlock(&ide_cfg_mtx); | ||
986 | return 1; | 982 | return 1; |
987 | } | 983 | } |
988 | 984 | ||