From: Rami Rosen Date: Sun, 5 Aug 2018 20:03:28 +0000 (+0300) Subject: ethdev: fix a doxygen comment for port allocation X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=2da7f0146e47833215e68f2c658b4275b8d609fc;p=dpdk.git ethdev: fix a doxygen comment for port allocation This patch fixes a doxygen comment of the rte_eth_dev_allocate() method. There is no parameter named "type" for this method; so this patch removes the doxygen comment about it. Fixes: 6751f6deb798 ("ethdev: get rid of device type") Cc: stable@dpdk.org Signed-off-by: Rami Rosen Acked-by: Ferruh Yigit --- diff --git a/lib/librte_ethdev/rte_ethdev_driver.h b/lib/librte_ethdev/rte_ethdev_driver.h index e2426aff82..c6d9bc1a30 100644 --- a/lib/librte_ethdev/rte_ethdev_driver.h +++ b/lib/librte_ethdev/rte_ethdev_driver.h @@ -38,7 +38,6 @@ struct rte_eth_dev *rte_eth_dev_allocated(const char *name); * to that slot for the driver to use. * * @param name Unique identifier name for each Ethernet device - * @param type Device type of this Ethernet device * @return * - Slot in the rte_dev_devices array for a new device; */