eal: remove argument need of --create_uio_dev option
authorHaifeng Gao <gaohaifeng.gao@huawei.com>
Mon, 23 Mar 2015 08:11:39 +0000 (16:11 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 23 Mar 2015 16:34:23 +0000 (17:34 +0100)
commit91a8743eb9bcbf83011bb8b6073cfc0ac11a8c85
tree79ef5449633641dc117a94fb4eba7b19f0556718
parent25a69127965b58c6d430ea111f92a9a6f01e1cef
eal: remove argument need of --create_uio_dev option

eal options OPT_CREATE_UIO_DEV does not need argument so set it to zero.
It needs to reset create_uio_dev explicitly.

Fixes: f7f97c16048e ("pci: add option --create-uio-dev to run without hotplug")

Signed-off-by: Haifeng Gao <gaohaifeng.gao@huawei.com>
Acked-by: Olivier Matz <olivier.matz@6wind.com>
lib/librte_eal/common/eal_common_options.c