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> |
||
---|---|---|
.. | ||
rte_vhost | ||
Makefile | ||
test_plan.md | ||
vhost_blk.c | ||
vhost_internal.h | ||
vhost_rpc.c | ||
vhost_scsi.c | ||
vhost.c |