Re: [dpdk-dev] [PATCH] vhost: remove unneeded variable assignment

2017-01-30 Thread Yuanhan Liu
On Tue, Jan 24, 2017 at 09:31:29PM +0100, Emmanuel Roullit wrote: > Found with clang static analysis: > lib/librte_vhost/vhost_user.c:996:3: warning: > Value stored to 'ret' is never read > ret = vhost_user_get_vring_base(dev, &msg.payload.state); > ^ ~~~

[dpdk-dev] [PATCH] vhost: remove unneeded variable assignment

2017-01-24 Thread Emmanuel Roullit
Found with clang static analysis: lib/librte_vhost/vhost_user.c:996:3: warning: Value stored to 'ret' is never read ret = vhost_user_get_vring_base(dev, &msg.payload.state); ^ ~~ Fixes: 73c8f9f69c6c ("vhost: introduce reply ack fe