[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <937ae366ecb54612a05fec858a3b5418@huawei.com>
Date: Tue, 1 Jun 2021 07:56:07 +0000
From: zhengyongjun <zhengyongjun3@...wei.com>
To: "davem@...emloft.net" <davem@...emloft.net>,
"kuba@...nel.org" <kuba@...nel.org>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
CC: "jdmason@...zu.us" <jdmason@...zu.us>
Subject: 答复: [PATCH net-next] net: vxge: Remove unused variable
This patch should meld into patch I send before, so please ignore this patch, thank you :)
-----邮件原件-----
发件人: zhengyongjun
发送时间: 2021年6月1日 15:48
收件人: davem@...emloft.net; kuba@...nel.org; netdev@...r.kernel.org; linux-kernel@...r.kernel.org
抄送: jdmason@...zu.us; zhengyongjun <zhengyongjun3@...wei.com>
主题: [PATCH net-next] net: vxge: Remove unused variable
Removes this annoying warning:
drivers/net/ethernet/neterion/vxge/vxge-main.c:1609:22: warning: unused variable ‘status’ [-Wunused-variable]
1609 | enum vxge_hw_status status;
Signed-off-by: Zheng Yongjun <zhengyongjun3@...wei.com>
---
drivers/net/ethernet/neterion/vxge/vxge-main.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/net/ethernet/neterion/vxge/vxge-main.c b/drivers/net/ethernet/neterion/vxge/vxge-main.c
index 21bc4d6662e4..297bce5f635f 100644
--- a/drivers/net/ethernet/neterion/vxge/vxge-main.c
+++ b/drivers/net/ethernet/neterion/vxge/vxge-main.c
@@ -1606,7 +1606,6 @@ static void vxge_config_ci_for_tti_rti(struct vxgedev *vdev)
static int do_vxge_reset(struct vxgedev *vdev, int event) {
- enum vxge_hw_status status;
int ret = 0, vp_id, i;
vxge_debug_entryexit(VXGE_TRACE, "%s:%d", __func__, __LINE__);
--
2.25.1
Powered by blists - more mailing lists