aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/ide-cd.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ide/ide-cd.c')
-rw-r--r--drivers/ide/ide-cd.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/ide/ide-cd.c b/drivers/ide/ide-cd.c
index abb83d95df57..6de3cd3d6e8e 100644
--- a/drivers/ide/ide-cd.c
+++ b/drivers/ide/ide-cd.c
@@ -1725,8 +1725,7 @@ static ide_startstop_t cdrom_newpc_intr(ide_drive_t *drive)
1725 } 1725 }
1726 } 1726 }
1727 1727
1728 if (HWGROUP(drive)->handler != NULL) 1728 BUG_ON(HWGROUP(drive)->handler != NULL);
1729 BUG();
1730 1729
1731 ide_set_handler(drive, cdrom_newpc_intr, rq->timeout, NULL); 1730 ide_set_handler(drive, cdrom_newpc_intr, rq->timeout, NULL);
1732 return ide_started; 1731 return ide_started;