linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 45/63] ide-cd: remove BUG_ON() from cdrom_newpc_intr()
@ 2007-12-20  1:27 Bartlomiej Zolnierkiewicz
  0 siblings, 0 replies; only message in thread
From: Bartlomiej Zolnierkiewicz @ 2007-12-20  1:27 UTC (permalink / raw)
  To: linux-ide; +Cc: linux-kernel


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 |    2 --
 1 file changed, 2 deletions(-)

Index: b/drivers/ide/ide-cd.c
===================================================================
--- a/drivers/ide/ide-cd.c
+++ b/drivers/ide/ide-cd.c
@@ -1368,8 +1368,6 @@ static ide_startstop_t cdrom_newpc_intr(
 	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;
 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-12-20  1:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-20  1:27 [PATCH 45/63] ide-cd: remove BUG_ON() from cdrom_newpc_intr() Bartlomiej Zolnierkiewicz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).