Skip to content

Commit

Permalink
net: thunderx: delete unused variables
Browse files Browse the repository at this point in the history
They were left from development stage

Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Aleksey Makarov <aleksey.makarov@caviumnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Aleksey Makarov authored and David S. Miller committed Jun 2, 2015
1 parent e610cb3 commit 0c886a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/net/ethernet/cavium/thunder/thunder_bgx.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ struct lmac {
bool is_sgmii;
struct delayed_work dwork;
struct workqueue_struct *check_link;
} lmac;
};

struct bgx {
u8 bgx_id;
Expand All @@ -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 */
Expand Down

0 comments on commit 0c886a1

Please sign in to comment.