vhost: get rid of duplicate code
authorYuanhan Liu <yuanhan.liu@linux.intel.com>
Wed, 9 Sep 2015 05:34:35 +0000 (13:34 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Fri, 25 Sep 2015 12:55:17 +0000 (14:55 +0200)
commitdbd897d0a165a4a60879d21720fb6f312f285719
tree6106e04e302abeb18e98b45441f82a105bd3f838
parent2bb29a9fc16d1233319d2e5c222103f7b1d36eae
vhost: get rid of duplicate code

Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
Acked-by: Changchun Ouyang <changchun.ouyang@intel.com>
Acked-by: Huawei Xie <huawei.xie@intel.com>
lib/librte_vhost/vhost_user/vhost-net-user.c