[PATCH net-next] net: vxge: Remove unused variable

From: Zheng Yongjun
Date: Tue Jun 01 2021 - 03:34:26 EST


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