From dffca2eb550f1964e8df6923b6b38a457b79939a Mon Sep 17 00:00:00 2001 From: Jerin Jacob Date: Tue, 27 Dec 2016 15:39:57 +0530 Subject: [PATCH] net/ixgbe: remove unused global variable 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 Acked-by: Ferruh Yigit --- drivers/net/ixgbe/ixgbe_regs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ixgbe/ixgbe_regs.h b/drivers/net/ixgbe/ixgbe_regs.h index 773e1693c1..2aa482015c 100644 --- a/drivers/net/ixgbe/ixgbe_regs.h +++ b/drivers/net/ixgbe/ixgbe_regs.h @@ -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"}, -- 2.20.1