diff options
author | Gonglei <arei.gonglei@huawei.com> | 2014-08-22 10:01:50 +0800 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2014-08-26 13:20:44 +0200 |
commit | f93d2c15d603b811c877efbf2a47e418bf975f0c (patch) | |
tree | e072efa0004f5427794c39e6aea33089e3cd47b7 /hw/scsi | |
parent | 9db693f76441e2fc7e1b05dc454e7db4d3298dcb (diff) | |
download | qemu-f93d2c15d603b811c877efbf2a47e418bf975f0c.zip qemu-f93d2c15d603b811c877efbf2a47e418bf975f0c.tar.gz qemu-f93d2c15d603b811c877efbf2a47e418bf975f0c.tar.bz2 |
scsi-generic: remove superfluous DPRINTF avoid to break compiling
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>
Diffstat (limited to 'hw/scsi')
-rw-r--r-- | hw/scsi/scsi-generic.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/hw/scsi/scsi-generic.c b/hw/scsi/scsi-generic.c index 3ebe4a6..20587b4 100644 --- a/hw/scsi/scsi-generic.c +++ b/hw/scsi/scsi-generic.c @@ -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; |