summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/google
diff options
context:
space:
mode:
authorDaode Huang <huangdaode@huawei.com>2021-03-25 10:56:32 +0300
committerDavid S. Miller <davem@davemloft.net>2021-03-26 03:07:58 +0300
commitf67435b555dfde67c830047fdfa1f4b91fbeaa56 (patch)
treed7e73333318d722d7a9687dec130d8ccd6f423d5 /drivers/net/ethernet/google
parentc32773c96131fd5a106993efa0078fbde435b2f6 (diff)
downloadlinux-f67435b555dfde67c830047fdfa1f4b91fbeaa56.tar.xz
net: gve: remove duplicated allowed
fix the WARNING of Possible repeated word: 'allowed' Signed-off-by: Daode Huang <huangdaode@huawei.com> Reviewed-by: Catherine Sullivan <csully@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/google')
-rw-r--r--drivers/net/ethernet/google/gve/gve_ethtool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/google/gve/gve_ethtool.c b/drivers/net/ethernet/google/gve/gve_ethtool.c
index e40e052a8566..5fb05cf36b49 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;