[PATCH 05/10] net: thunderx: delete unused variables

From: Aleksey Makarov
Date: Tue Jun 02 2015 - 14:01:31 EST


They were left from development stage

Reported-by: kbuild test robot <fengguang.wu@xxxxxxxxx>
Signed-off-by: Aleksey Makarov <aleksey.makarov@xxxxxxxxxxxxxxxxxx>
---
drivers/net/ethernet/cavium/thunder/thunder_bgx.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/net/ethernet/cavium/thunder/thunder_bgx.c b/drivers/net/ethernet/cavium/thunder/thunder_bgx.c
index a58924c..83476f0 100644
--- a/drivers/net/ethernet/cavium/thunder/thunder_bgx.c
+++ b/drivers/net/ethernet/cavium/thunder/thunder_bgx.c
@@ -38,7 +38,7 @@ struct lmac {
bool is_sgmii;
struct delayed_work dwork;
struct workqueue_struct *check_link;
-} lmac;
+};

struct bgx {
u8 bgx_id;
@@ -50,7 +50,7 @@ struct bgx {
int use_training;
void __iomem *reg_base;
struct pci_dev *pdev;
-} bgx;
+};

struct bgx *bgx_vnic[MAX_BGX_THUNDER];
static int lmac_count; /* Total no of LMACs in system */
--
2.4.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/