mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-16 22:10:24 +00:00
ide-cd: remove BUG_ON() from cdrom_newpc_intr()
There is no need for it anylonger and ide_set_handler() complains if ->handler is not NULL anyway. Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
This commit is contained in:
parent
17802998d2
commit
98add71ee0
@ -1397,8 +1397,6 @@ static ide_startstop_t cdrom_newpc_intr(ide_drive_t *drive)
|
||||
if (len > 0)
|
||||
ide_cd_pad_transfer(drive, xferfunc, len);
|
||||
|
||||
BUG_ON(HWGROUP(drive)->handler != NULL);
|
||||
|
||||
ide_set_handler(drive, cdrom_newpc_intr, rq->timeout, NULL);
|
||||
return ide_started;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user