scsi-generic: remove superfluous DPRINTF avoid to break compiling
authorGonglei <arei.gonglei@huawei.com>
Fri, 22 Aug 2014 02:01:50 +0000 (10:01 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 26 Aug 2014 11:20:44 +0000 (13:20 +0200)
variables lun and tag had been eliminated, break compiling
when enable debug switch. Meanwhile traces provide the same
information with this DPRINTF, so remove it.

Signed-off-by: Gonglei <arei.gonglei@huawei.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/scsi/scsi-generic.c

index 3ebe4a6a81e1bb018cc00a8f68624fb310c69493..20587b41c1cb3165b04d28a1f808b7fbd2df9a50 100644 (file)
@@ -303,9 +303,6 @@ static int32_t scsi_send_command(SCSIRequest *req, uint8_t *cmd)
     SCSIDevice *s = r->req.dev;
     int ret;
 
-    DPRINTF("Command: lun=%d tag=0x%x len %zd data=0x%02x", lun, tag,
-            r->req.cmd.xfer, cmd[0]);
-
 #ifdef DEBUG_SCSI
     {
         int i;