It was first a preparation step for future patchsets, but I am not sure what will become of them, so sending this anyway since it does not hurt to clean this now.
Changes since v1: - rebased on HEAD (previous patchset was based on another patch I sent separately) - restored EINVAL error code for rte_eth_dev_(at|de)tach (thanks Jan) -- David Marchand David Marchand (2): ethdev: remove useless null checks ethdev: move code to common place in hotplug lib/librte_ether/rte_ethdev.c | 92 +++++++++++++++++++++---------------------- 1 file changed, 46 insertions(+), 46 deletions(-) -- 1.9.1