examples/vhost: remove unnecessary method and constant
authorRami Rosen <ramirose@gmail.com>
Wed, 9 Jan 2019 14:57:30 +0000 (16:57 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 14 Jan 2019 16:44:29 +0000 (17:44 +0100)
commit352cf50d9a9d95ca8207ce526d4fa7cd9894dba6
tree8c5fd03675abde13d8a7eda99f177e052c1ab3fa
parentf9204d8a23c3312e2939170e6d70c7b5ef7e42d9
examples/vhost: remove unnecessary method and constant

This cleanup patch removes a method and a constant which
are now unnecessary in the VHOST sample application, namely
the validate_num_devices() method and the MAX_DEVICES
constant.

Signed-off-by: Rami Rosen <ramirose@gmail.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
examples/vhost/main.c