[PATCH 10/11] ethdev: fix repeated word in comment
Thomas Monjalon
thomas at monjalon.net
Mon Jul 25 08:25:57 CEST 2022
22/07/2022 23:41, Stephen Hemminger:
> Replace 'of of'
>
> Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
> ---
> lib/ethdev/rte_ethdev.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/lib/ethdev/rte_ethdev.h b/lib/ethdev/rte_ethdev.h
> index de9e970d4d11..701eac328fe6 100644
> --- a/lib/ethdev/rte_ethdev.h
> +++ b/lib/ethdev/rte_ethdev.h
> @@ -3356,7 +3356,7 @@ int rte_eth_macaddrs_get(uint16_t port_id, struct rte_ether_addr *ma,
> /**
> * Retrieve the contextual information of an Ethernet device.
> *
> - * As part of this function, a number of of fields in dev_info will be
> + * As part of this function, a number of fields in dev_info will be
> * initialized as follows:
> *
> * rx_desc_lim = lim
This comment is the code of the function.
That's very unusual and should be completely removed in my opinion,
instead of just fixing the repeated word.
More information about the dev
mailing list