From: Gonglei Date: Fri, 22 Aug 2014 02:01:50 +0000 (+0800) Subject: scsi-generic: remove superfluous DPRINTF avoid to break compiling X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=f93d2c15d603b811c877efbf2a47e418bf975f0c;p=qemu.git 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 Signed-off-by: Paolo Bonzini --- diff --git a/hw/scsi/scsi-generic.c b/hw/scsi/scsi-generic.c index 3ebe4a6a81..20587b41c1 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;