diff mbox series

[net-next,2/2] net: gve: remove duplicated allowed

Message ID 1616658992-135804-3-git-send-email-huangdaode@huawei.com (mailing list archive)
State Accepted
Commit f67435b555dfde67c830047fdfa1f4b91fbeaa56
Delegated to: Netdev Maintainers
Headers show
Series net: gve: make cleanup for gve | expand

Checks

Context Check Description
netdev/cover_letter success Link
netdev/fixes_present success Link
netdev/patch_count success Link
netdev/tree_selection success Clearly marked for net-next
netdev/subject_prefix success Link
netdev/cc_maintainers success CCed 10 of 10 maintainers
netdev/source_inline success Was 0 now: 0
netdev/verify_signedoff success Link
netdev/module_param success Was 0 now: 0
netdev/build_32bit success Errors and warnings before: 0 this patch: 0
netdev/kdoc success Errors and warnings before: 0 this patch: 0
netdev/verify_fixes success Link
netdev/checkpatch success total: 0 errors, 0 warnings, 0 checks, 8 lines checked
netdev/build_allmodconfig_warn success Errors and warnings before: 0 this patch: 0
netdev/header_inline success Link

Commit Message

Daode Huang March 25, 2021, 7:56 a.m. UTC
fix the WARNING of Possible repeated word: 'allowed'

Signed-off-by: Daode Huang <huangdaode@huawei.com>
---
 drivers/net/ethernet/google/gve/gve_ethtool.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Catherine Sullivan March 25, 2021, 11:50 p.m. UTC | #1
On Thu, Mar 25, 2021 at 1:00 AM Daode Huang <huangdaode@huawei.com> wrote:
>
> fix the WARNING of Possible repeated word: 'allowed'
>
> Signed-off-by: Daode Huang <huangdaode@huawei.com>

Reviewed-by: Catherine Sullivan <csully@google.com>

> ---
>  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
>
diff mbox series

Patch

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;