From 2da7f0146e47833215e68f2c658b4275b8d609fc Mon Sep 17 00:00:00 2001 From: Rami Rosen Date: Sun, 5 Aug 2018 23:03:28 +0300 Subject: [PATCH] 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 --- lib/librte_ethdev/rte_ethdev_driver.h | 1 - 1 file changed, 1 deletion(-) 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; */ -- 2.20.1