]> git.karo-electronics.de Git - linux-beck.git/commitdiff
net: thunderx: delete unused variables
authorAleksey Makarov <aleksey.makarov@caviumnetworks.com>
Tue, 2 Jun 2015 18:00:22 +0000 (11:00 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 2 Jun 2015 19:49:30 +0000 (12:49 -0700)
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>
drivers/net/ethernet/cavium/thunder/thunder_bgx.c

index a58924cd47ed433c7b03b1968cd23bac13514a8e..83476f04aa4294ddfe6e9ae633dd8de8fcaa5525 100644 (file)
@@ -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 */