Yuanhan Liu bbd7e83520 vhost: get device once
Invoke get_device() at the beginning of vhost_user_msg_handler, so that
we could check the return value once. Which could save tons of duplicate
get-and-check device.

Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
2016-09-13 05:25:08 +02:00
..
2016-09-13 05:25:08 +02:00
2016-09-13 05:25:08 +02:00
2016-09-13 05:25:08 +02:00
2016-06-22 09:47:12 +02:00
2016-09-13 05:25:08 +02:00
2016-09-13 05:25:08 +02:00
2016-09-13 05:25:08 +02:00
2016-09-13 05:25:08 +02:00
2016-09-13 05:25:08 +02:00
2016-09-13 05:25:08 +02:00