[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1616658992-135804-3-git-send-email-huangdaode@huawei.com>
Date: Thu, 25 Mar 2021 15:56:32 +0800
From: Daode Huang <huangdaode@...wei.com>
To: <csully@...gle.com>, <sagis@...gle.com>, <jonolson@...gle.com>,
<davem@...emloft.net>, <kuba@...nel.org>, <awogbemila@...gle.com>,
<yangchun@...gle.com>, <kuozhao@...gle.com>
CC: <netdev@...r.kernel.org>, <linux-kernel@...r.kernel.org>
Subject: [PATCH net-next 2/2] net: gve: remove duplicated allowed
fix the WARNING of Possible repeated word: 'allowed'
Signed-off-by: Daode Huang <huangdaode@...wei.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
Powered by blists - more mailing lists