[EXT] [PATCH v2 09/20] remove repeated word 'only'
Rasesh Mody
rmody at marvell.com
Tue Jul 26 12:07:48 CEST 2022
> From: Stephen Hemminger <stephen at networkplumber.org>
> Sent: Tuesday, July 26, 2022 9:05 AM
> To: dev at dpdk.org
> Cc: Stephen Hemminger <stephen at networkplumber.org>; Rasesh Mody
> <rmody at marvell.com>; Shahed Shaikh <shshaikh at marvell.com>
> Subject: [EXT] [PATCH v2 09/20] remove repeated word 'only'
>
> Found by doing duplicate word scan.
>
> Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
Acked-by: Rasesh Mody <rmody at marvell.com>
Thanks!
-Rasesh
> ---
> drivers/net/bnx2x/bnx2x.c | 2 +-
> drivers/net/pcap/pcap_ethdev.c | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/net/bnx2x/bnx2x.c b/drivers/net/bnx2x/bnx2x.c index
> 74e3018eab6f..29c16bb207c7 100644
> --- a/drivers/net/bnx2x/bnx2x.c
> +++ b/drivers/net/bnx2x/bnx2x.c
> @@ -5929,7 +5929,7 @@ static uint8_t bnx2x_trylock_hw_lock(struct
> bnx2x_softc *sc, uint32_t resource)
>
> /*
> * Get the recovery leader resource id according to the engine this function
> - * belongs to. Currently only only 2 engines is supported.
> + * belongs to. Currently only 2 engines are supported.
> */
> static int bnx2x_get_leader_lock_resource(struct bnx2x_softc *sc) { diff --
> git a/drivers/net/pcap/pcap_ethdev.c b/drivers/net/pcap/pcap_ethdev.c
> index ec29fd6bc53c..bcb02ca0638e 100644
> --- a/drivers/net/pcap/pcap_ethdev.c
> +++ b/drivers/net/pcap/pcap_ethdev.c
> @@ -1336,7 +1336,7 @@ eth_from_pcaps(struct rte_vdev_device *vdev,
> internals->if_index =
> osdep_iface_index_get(rx_queues-
> >queue[0].name);
>
> - /* phy_mac arg is applied only only if "iface" devarg is
> provided */
> + /* phy_mac arg is applied only if "iface" devarg is provided */
> if (rx_queues->phy_mac) {
> if (eth_pcap_update_mac(rx_queues-
> >queue[0].name,
> eth_dev, vdev->device.numa_node)
> == 0)
> --
> 2.35.1
More information about the dev
mailing list