Re: [PATCH] mellanox/mlxsw: fix repeated words in comments

From: Randy Dunlap
Date: Thu Sep 08 2022 - 09:59:32 EST




On 9/8/22 05:43, wangjianli wrote:
> Delete the redundant word 'in'.
>
> Signed-off-by: wangjianli <wangjianli@xxxxxxxxxx>
> ---
> drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c b/drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c
> index 2c4443c6b964..48f1fa62a4fd 100644
> --- a/drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c
> +++ b/drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c
> @@ -1819,7 +1819,7 @@ void mlxsw_sp_ipip_entry_demote_tunnel(struct mlxsw_sp *mlxsw_sp,
> /* The configuration where several tunnels have the same local address in the
> * same underlay table needs special treatment in the HW. That is currently not
> * implemented in the driver. This function finds and demotes the first tunnel
> - * with a given source address, except the one passed in in the argument
> + * with a given source address, except the one passed in the argument

Yeah, either way is OK.

> * `except'.
> */
> bool

--
~Randy