diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2009-03-31 14:15:00 -0400 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2009-03-31 14:15:00 -0400 |
commit | 13eae6a48fc57495eb9e733430b8fc20df7bf415 (patch) | |
tree | 6c8fe36139061fc560538cdb51da6d02db20d502 | |
parent | bf12a9c1c95e1b0204fc2fc9fe625a056e284f5a (diff) |
ide-cd: remove dead code from cdrom_decode_status()
There should be no functional changes caused by this patch.
Cc: Borislav Petkov <petkovbb@gmail.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
-rw-r--r-- | drivers/ide/ide-cd.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/ide/ide-cd.c b/drivers/ide/ide-cd.c index 6f64fb2f63d0..4a289711c551 100644 --- a/drivers/ide/ide-cd.c +++ b/drivers/ide/ide-cd.c | |||
@@ -321,12 +321,6 @@ static int cdrom_decode_status(ide_drive_t *drive, int good_stat, int *stat_ret) | |||
321 | err = ide_read_error(drive); | 321 | err = ide_read_error(drive); |
322 | sense_key = err >> 4; | 322 | sense_key = err >> 4; |
323 | 323 | ||
324 | if (rq == NULL) { | ||
325 | printk(KERN_ERR PFX "%s: missing rq in %s\n", | ||
326 | drive->name, __func__); | ||
327 | return 1; | ||
328 | } | ||
329 | |||
330 | ide_debug_log(IDE_DBG_RQ, "stat: 0x%x, good_stat: 0x%x, cmd[0]: 0x%x, " | 324 | ide_debug_log(IDE_DBG_RQ, "stat: 0x%x, good_stat: 0x%x, cmd[0]: 0x%x, " |
331 | "rq->cmd_type: 0x%x, err: 0x%x", | 325 | "rq->cmd_type: 0x%x, err: 0x%x", |
332 | stat, good_stat, rq->cmd[0], rq->cmd_type, | 326 | stat, good_stat, rq->cmd[0], rq->cmd_type, |