projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1780299
)
ide-cd: remove BUG_ON() from cdrom_newpc_intr()
author
Bartlomiej Zolnierkiewicz
<bzolnier@gmail.com>
Fri, 1 Feb 2008 22:09:25 +0000
(23:09 +0100)
committer
Bartlomiej Zolnierkiewicz
<bzolnier@gmail.com>
Fri, 1 Feb 2008 22:09:25 +0000
(23:09 +0100)
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>
drivers/ide/ide-cd.c
patch
|
blob
|
history
diff --git
a/drivers/ide/ide-cd.c
b/drivers/ide/ide-cd.c
index 1032bec54ee6f8c945d93fac04fd5b9da365f461..448140ba484888d154a11476d27879eb84e95674 100644
(file)
--- a/
drivers/ide/ide-cd.c
+++ b/
drivers/ide/ide-cd.c
@@
-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;
}