Re: [PATCH net-next 2/2] net: gve: remove duplicated allowed
From: Catherine Sullivan
Date: Thu Mar 25 2021 - 19:58:17 EST
On Thu, Mar 25, 2021 at 1:00 AM Daode Huang <huangdaode@xxxxxxxxxx> wrote:
>
> fix the WARNING of Possible repeated word: 'allowed'
>
> Signed-off-by: Daode Huang <huangdaode@xxxxxxxxxx>
Reviewed-by: Catherine Sullivan <csully@xxxxxxxxxx>
> ---
> drivers/net/ethernet/google/gve/gve_ethtool.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/net/ethernet/google/gve/gve_ethtool.c b/drivers/net/ethernet/google/gve/gve_ethtool.c
> index e40e052..5fb05cf 100644
> --- a/drivers/net/ethernet/google/gve/gve_ethtool.c
> +++ b/drivers/net/ethernet/google/gve/gve_ethtool.c
> @@ -388,7 +388,7 @@ static int gve_set_channels(struct net_device *netdev,
>
> gve_get_channels(netdev, &old_settings);
>
> - /* Changing combined is not allowed allowed */
> + /* Changing combined is not allowed */
> if (cmd->combined_count != old_settings.combined_count)
> return -EINVAL;
>
> --
> 2.8.1
>