amiflop,ataflop,xd,mg_disk: clean up unnecessary stuff from block drivers
[linux-2.6.git] / drivers / block / mg_disk.c
index 408c2bd..2c00ad9 100644 (file)
@@ -560,11 +560,6 @@ static void mg_request_poll(struct request_queue *q)
                        case WRITE:
                                mg_write(req);
                                break;
-                       default:
-                               printk(KERN_WARNING "%s:%d unknown command\n",
-                                               __func__, __LINE__);
-                               __blk_end_request_cur(req, -EIO);
-                               break;
                        }
                }
        }
@@ -614,11 +609,6 @@ static unsigned int mg_issue_req(struct request *req,
                outb(MG_CMD_WR_CONF, (unsigned long)host->dev_base +
                                MG_REG_COMMAND);
                break;
-       default:
-               printk(KERN_WARNING "%s:%d unknown command\n",
-                               __func__, __LINE__);
-               __blk_end_request_cur(req, -EIO);
-               break;
        }
        return MG_ERR_NONE;
 }