[08/11] bnx2x, pcap: replace only only
Checks
Commit Message
Duplicate word in comments.
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
drivers/net/bnx2x/bnx2x.c | 2 +-
drivers/net/pcap/pcap_ethdev.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
@@ -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)
{
@@ -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)