Skip to content

Commit

Permalink
eventdev: fix a return value comment
Browse files Browse the repository at this point in the history
[ upstream commit b07b80f ]

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: 5223a1f ("eventdev: define southbound driver interface")

Reported-by: Fredrik A Lindgren <fredrik.a.lindgren@tietoevry.com>
Signed-off-by: Harry van Haaren <harry.van.haaren@intel.com>
  • Loading branch information
harry-van-haaren authored and bluca committed Feb 8, 2021
1 parent 29d0b18 commit cc08a92
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions lib/librte_eventdev/rte_eventdev_pmd.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit cc08a92

Please sign in to comment.