From: Jerin Jacob Date: Tue, 27 Dec 2016 10:09:57 +0000 (+0530) Subject: net/ixgbe: remove unused global variable X-Git-Tag: spdx-start~4912 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=dffca2eb550f1964e8df6923b6b38a457b79939a;p=dpdk.git 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 --- 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"},