From b07b80fe1cbd7bdaffa75d4d34417aca536c1aba Mon Sep 17 00:00:00 2001 From: Harry van Haaren Date: Mon, 1 Feb 2021 13:19:46 +0000 Subject: [PATCH] eventdev: fix a return value comment The PMD info get API has a void return type. Remove the @return 0 Success doxygen comment as it doesn't make sense here. Fixes: 5223a1f3b8de ("eventdev: define southbound driver interface") Cc: stable@dpdk.org Reported-by: Fredrik A Lindgren Signed-off-by: Harry van Haaren --- lib/librte_eventdev/eventdev_pmd.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/librte_eventdev/eventdev_pmd.h b/lib/librte_eventdev/eventdev_pmd.h index 9e83993efa..7eb9a77393 100644 --- a/lib/librte_eventdev/eventdev_pmd.h +++ b/lib/librte_eventdev/eventdev_pmd.h @@ -158,9 +158,6 @@ rte_event_pmd_is_valid_dev(uint8_t dev_id) * Event device pointer * @param dev_info * Event device information structure - * - * @return - * Returns 0 on success */ typedef void (*eventdev_info_get_t)(struct rte_eventdev *dev, struct rte_event_dev_info *dev_info); -- 2.20.1