]> git.proxmox.com Git - qemu.git/blobdiff - hw/scsi-generic.c
scsi: do not call send_command directly
[qemu.git] / hw / scsi-generic.c
index 64cbe8b8c07bb330e7806de6196ef110bb82c4fe..90f2a4af1b0886f8deb0bedc8c584adc78d2949a 100644 (file)
@@ -320,7 +320,6 @@ static int32_t scsi_send_command(SCSIRequest *req, uint8_t *cmd)
     SCSIGenericReq *r = DO_UPCAST(SCSIGenericReq, req, req);
     int ret;
 
-    scsi_req_enqueue(req);
     if (cmd[0] != REQUEST_SENSE &&
         (req->lun != s->lun || (cmd[1] >> 5) != s->lun)) {
         DPRINTF("Unimplemented LUN %d\n", req->lun ? req->lun : cmd[1] >> 5);