Re: [dpdk-dev] [PATCH 2/2] vhost: remove unneeded null pointer check

2018-11-09 Thread Maxime Coquelin
On 11/7/18 10:01 AM, Tiwei Bie wrote: The caller will guarantee that msg won't be null. Remove the unneeded null pointer check which caused a Coverity warning. Coverity issue: 323484 Fixes: 8f972312b8f4 ("vhost: support vhost-user") Cc: sta...@dpdk.org Signed-off-by: Tiwei Bie --- lib/lib

[dpdk-dev] [PATCH 2/2] vhost: remove unneeded null pointer check

2018-11-07 Thread Tiwei Bie
The caller will guarantee that msg won't be null. Remove the unneeded null pointer check which caused a Coverity warning. Coverity issue: 323484 Fixes: 8f972312b8f4 ("vhost: support vhost-user") Cc: sta...@dpdk.org Signed-off-by: Tiwei Bie --- lib/librte_vhost/vhost_user.c | 2 +- 1 file change