net/ixgbe: remove unused global variable
authorJerin Jacob <jerin.jacob@caviumnetworks.com>
Tue, 27 Dec 2016 10:09:57 +0000 (15:39 +0530)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 17 Jan 2017 18:40:52 +0000 (19:40 +0100)
Removed unused "reg_info" global variable from ixgbe driver.

cat build/app/testpmd.map | grep "Allocating common symbols" -A 15
Allocating common symbols
Common symbol   size    file
reg_info        0x18    build/lib/librte_pmd_ixgbe.a(ixgbe_ethdev.o)

Signed-off-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>
drivers/net/ixgbe/ixgbe_regs.h

index 773e169..2aa4820 100644 (file)
@@ -41,7 +41,7 @@ struct reg_info {
        uint32_t count;
        uint32_t stride;
        const char *name;
-} reg_info;
+};
 
 static const struct reg_info ixgbe_regs_general[] = {
        {IXGBE_CTRL, 1, 1, "IXGBE_CTRL"},