bdev/malloc: remove the unnecessary operation on len

Change-Id: I9e550a879b50af0de476583f5efd4e0518667662
Signed-off-by: Ziye Yang <optimistyzy@gmail.com>
Reviewed-on: https://review.gerrithub.io/379213
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
This commit is contained in:
Ziye Yang 2017-09-20 04:09:36 +08:00 committed by Jim Harris
parent 8181c59293
commit 8d6f9503ef

View File

@ -225,7 +225,6 @@ bdev_malloc_writev(struct malloc_disk *mdisk, struct spdk_io_channel *ch,
}
dst += iov[i].iov_len;
len -= iov[i].iov_len;
}
}