ethdev: remove useless check in detach capability
authorGaetan Rivet <gaetan.rivet@6wind.com>
Wed, 26 Jul 2017 13:35:53 +0000 (15:35 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 31 Jul 2017 12:08:25 +0000 (14:08 +0200)
commit8e04becc9432d15531e0596118443d099bc6917a
tree064f931206f7666b6621ab362b507a0ec7d70fd4
parentf2b24fb03e8fcd21d10d5144ce257d0fe221adbc
ethdev: remove useless check in detach capability

This capability is not bound to which driver is handling the device, but
whether the bus is able to unplug it.

This check is already performed in rte_eal_dev_detach, there is no need
to do it in the ethdev layer.

Signed-off-by: Gaetan Rivet <gaetan.rivet@6wind.com>
Acked-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
lib/librte_ether/rte_ethdev.c