From: Thomas Monjalon Date: Wed, 17 Oct 2018 23:42:52 +0000 (+0200) Subject: devargs: fix freeing during device removal X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=739e13bcc98f562d3301f808ec76507ebae82e63;hp=739e13bcc98f562d3301f808ec76507ebae82e63;p=dpdk.git devargs: fix freeing during device removal After calling unplug function of a bus, the device is expected to be freed. It is too late for getting devargs to remove. Anyway, the buses which implement unplug are already freeing the devargs, except the PCI bus. So the call to rte_devargs_remove() is removed from EAL and added in PCI. Fixes: 2effa126fbd8 ("devargs: simplify parameters of removal function") Signed-off-by: Thomas Monjalon ---