Spdk/lib/vhost
Daniel Verkamp 52ae747fe2 vhost: remove redundant NULL check in parse_core_mask
This is a private function that is only called in one place, and cpumask
is always provided.  Additionally, the code inside the mask == NULL ||
cpumask == NULL check always writes to *cpumask, so it was not possible
to pass NULL as cpumask anyway.

Change-Id: I2cde53dfeb07edc8a8f87f4ff485ec0c5c9ba7a8
Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-on: https://review.gerrithub.io/376685
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Dariusz Stojaczyk <dariuszx.stojaczyk@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
2017-09-07 17:59:10 -04:00
..
rte_vhost rte_vhost: added user callbacks for socket open/close 2017-09-01 15:34:24 -04:00
Makefile env: Automatically register new memory with the IOMMU 2017-09-01 15:25:24 -04:00
test_plan.md test/vhost: Update test plan for vhost 2017-07-25 15:48:46 -04:00
vhost_blk.c vhost: added API to call external spdk_events on vdev reactor 2017-09-07 14:34:01 -04:00
vhost_internal.h vhost: added spdk_vhost_event_fn 2017-09-07 14:34:01 -04:00
vhost_rpc.c log: remove uses of SPDK_TRACE_DEBUG 2017-08-29 15:07:13 -04:00
vhost_scsi.c vhost: added spdk_vhost_event_fn 2017-09-07 14:34:01 -04:00
vhost.c vhost: remove redundant NULL check in parse_core_mask 2017-09-07 17:59:10 -04:00