For vhost-user device, the variable `active_session_num` is used to count number of sessions of a vhost-user device, we don't use it anywhere, and the assertion of this variable is already guaranteed by `vsessions_num`, so just remove it. Change-Id: I335a75d17583b3744a41152b35cd5a1a8762a687 Signed-off-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/15189 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Shuhei Matsumoto <smatsumoto@nvidia.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> |
||
---|---|---|
.. | ||
Makefile | ||
rte_vhost_user.c | ||
spdk_vhost.map | ||
vhost_blk.c | ||
vhost_internal.h | ||
vhost_rpc.c | ||
vhost_scsi.c | ||
vhost.c |