summaryrefslogtreecommitdiff
path: root/sg_io_v4.c
diff options
context:
space:
mode:
authorDmitry V. Levin <ldv@altlinux.org>2017-01-08 15:33:30 +0000
committerDmitry V. Levin <ldv@altlinux.org>2017-01-08 15:33:30 +0000
commitfb39d067483c8dbe4460f295a4b4f8dcdb5d2e58 (patch)
tree2217dd44d7c44013d270bef523775d3ebd9dbb24 /sg_io_v4.c
parent0503b6948626b82c3cd8085a74df5f4eba7e69e7 (diff)
downloadstrace-fb39d067483c8dbe4460f295a4b4f8dcdb5d2e58.tar.gz
sg_io_v4: do not print spare_in and spare_out fields
As the kernel does not touch these fields, there is no use to print them. * sg_io_v4.c (decode_request): Do not print spare_in field. (decode_response): Do not print spare_out field.
Diffstat (limited to 'sg_io_v4.c')
-rw-r--r--sg_io_v4.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sg_io_v4.c b/sg_io_v4.c
index 7deff41c4..f770f1374 100644
--- a/sg_io_v4.c
+++ b/sg_io_v4.c
@@ -75,7 +75,6 @@ decode_request(struct tcb *const tcp, const kernel_ulong_t arg)
tprints(", flags=");
printflags(bsg_flags, sg_io.flags, "BSG_FLAG_???");
tprintf(", usr_ptr=%" PRI__u64, sg_io.usr_ptr);
- tprintf(", spare_in=%u", sg_io.spare_in);
tprintf(", dout[%u]=", sg_io.dout_xfer_len);
if (sg_io.dout_iovec_count)
tprint_iov_upto(tcp, sg_io.dout_iovec_count, sg_io.dout_xferp,
@@ -124,7 +123,6 @@ decode_response(struct tcb *const tcp, const kernel_ulong_t arg)
tprintf(", din_resid=%u", sg_io.din_resid);
tprintf(", dout_resid=%u", sg_io.dout_resid);
tprintf(", generated_tag=%" PRI__u64, sg_io.generated_tag);
- tprintf(", spare_out=%u", sg_io.spare_out);
return RVAL_DECODED | 1;
}