nvme_tcp_build_iovs() calculates the plen for the iovs, but only uses the calculated value in an assert, so we get set-but-not-used errors in release builds. So mark the variable as unused to squash those errors. Signed-off-by: Jim Harris <james.r.harris@intel.com> Change-Id: Ifdf72faa6182c0fba622da9e5e2a33e3c6bbaf86 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/10125 Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Community-CI: Mellanox Build Bot Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Dong Yi <dongx.yi@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> |
||
---|---|---|
.. | ||
linux | ||
spdk | ||
spdk_internal | ||
Makefile |