diff options
Diffstat (limited to 'drivers/block/mg_disk.c')
-rw-r--r-- | drivers/block/mg_disk.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/block/mg_disk.c b/drivers/block/mg_disk.c index 408c2bd8a439..2c00ad90cd62 100644 --- a/drivers/block/mg_disk.c +++ b/drivers/block/mg_disk.c | |||
@@ -560,11 +560,6 @@ static void mg_request_poll(struct request_queue *q) | |||
560 | case WRITE: | 560 | case WRITE: |
561 | mg_write(req); | 561 | mg_write(req); |
562 | break; | 562 | break; |
563 | default: | ||
564 | printk(KERN_WARNING "%s:%d unknown command\n", | ||
565 | __func__, __LINE__); | ||
566 | __blk_end_request_cur(req, -EIO); | ||
567 | break; | ||
568 | } | 563 | } |
569 | } | 564 | } |
570 | } | 565 | } |
@@ -614,11 +609,6 @@ static unsigned int mg_issue_req(struct request *req, | |||
614 | outb(MG_CMD_WR_CONF, (unsigned long)host->dev_base + | 609 | outb(MG_CMD_WR_CONF, (unsigned long)host->dev_base + |
615 | MG_REG_COMMAND); | 610 | MG_REG_COMMAND); |
616 | break; | 611 | break; |
617 | default: | ||
618 | printk(KERN_WARNING "%s:%d unknown command\n", | ||
619 | __func__, __LINE__); | ||
620 | __blk_end_request_cur(req, -EIO); | ||
621 | break; | ||
622 | } | 612 | } |
623 | return MG_ERR_NONE; | 613 | return MG_ERR_NONE; |
624 | } | 614 | } |