numam-spdk/test/unit/lib/vhost/vhost_scsi.c
Dariusz Stojaczyk fa82f460d1 vhost: remove vdev->type field
This field was only required to check
if we can safely upcast vdev object.
We can just as well check vdev->backend
instead. The vdev->type is not needed here.

Change-Id: I525350957406d4299151e0557b9025ca7bea5371
Signed-off-by: Dariusz Stojaczyk <dariuszx.stojaczyk@intel.com>
Reviewed-on: https://review.gerrithub.io/396584
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Pawel Wodkowski <pawelx.wodkowski@intel.com>
Reviewed-by: <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
2018-02-06 11:05:01 -05:00
..
.gitignore ut/vhost: add UT coverage for vhost_scsi.c 2017-09-05 17:58:25 -04:00
Makefile ut/vhost: add UT coverage for vhost_scsi.c 2017-09-05 17:58:25 -04:00
vhost_scsi_ut.c vhost: remove vdev->type field 2018-02-06 11:05:01 -05:00