答复: [PATCH net-next] net: vxge: Remove unused variable
From: zhengyongjun
Date: Tue Jun 01 2021 - 03:56:12 EST
This patch should meld into patch I send before, so please ignore this patch, thank you :)
-----邮件原件-----
发件人: zhengyongjun
发送时间: 2021年6月1日 15:48
收件人: davem@xxxxxxxxxxxxx; kuba@xxxxxxxxxx; netdev@xxxxxxxxxxxxxxx; linux-kernel@xxxxxxxxxxxxxxx
抄送: jdmason@xxxxxxxx; zhengyongjun <zhengyongjun3@xxxxxxxxxx>
主题: [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@xxxxxxxxxx>
---
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