Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

ixgbe: Remove unused function declarations

Commit dc166e22ede5 ("ixgbe: DCB remove ixgbe_fcoe_getapp routine")
leave ixgbe_fcoe_getapp() unused.
Commit ffed21bcee7a ("ixgbe: Don't bother clearing buffer memory for descriptor rings")
leave ixgbe_unmap_and_free_tx_resource() declaration unused.
And commit 3b3bf3b92b31 ("ixgbe: remove unused fcoe.tc field and fcoe_setapp()")
removed the ixgbe_fcoe_setapp() implementation.

Commit c44ade9ef8ff ("ixgbe: update to latest common code module")
declared but never implemented ixgbe_init_ops_generic().

Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://lore.kernel.org/r/20230804125203.30924-1-yuehaibing@huawei.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

authored by

Yue Haibing and committed by
Jakub Kicinski
ac0955f0 b98a5aa7

-7
-6
drivers/net/ethernet/intel/ixgbe/ixgbe.h
··· 945 945 void ixgbe_clear_interrupt_scheme(struct ixgbe_adapter *adapter); 946 946 netdev_tx_t ixgbe_xmit_frame_ring(struct sk_buff *, struct ixgbe_adapter *, 947 947 struct ixgbe_ring *); 948 - void ixgbe_unmap_and_free_tx_resource(struct ixgbe_ring *, 949 - struct ixgbe_tx_buffer *); 950 948 void ixgbe_alloc_rx_buffers(struct ixgbe_ring *, u16); 951 949 void ixgbe_write_eitr(struct ixgbe_q_vector *); 952 950 int ixgbe_poll(struct napi_struct *napi, int budget); ··· 995 997 void ixgbe_free_fcoe_ddp_resources(struct ixgbe_adapter *adapter); 996 998 int ixgbe_fcoe_enable(struct net_device *netdev); 997 999 int ixgbe_fcoe_disable(struct net_device *netdev); 998 - #ifdef CONFIG_IXGBE_DCB 999 - u8 ixgbe_fcoe_getapp(struct ixgbe_adapter *adapter); 1000 - u8 ixgbe_fcoe_setapp(struct ixgbe_adapter *adapter, u8 up); 1001 - #endif /* CONFIG_IXGBE_DCB */ 1002 1000 int ixgbe_fcoe_get_wwn(struct net_device *netdev, u64 *wwn, int type); 1003 1001 int ixgbe_fcoe_get_hbainfo(struct net_device *netdev, 1004 1002 struct netdev_fcoe_hbainfo *info);
-1
drivers/net/ethernet/intel/ixgbe/ixgbe_common.h
··· 8 8 #include "ixgbe.h" 9 9 10 10 u16 ixgbe_get_pcie_msix_count_generic(struct ixgbe_hw *hw); 11 - s32 ixgbe_init_ops_generic(struct ixgbe_hw *hw); 12 11 s32 ixgbe_init_hw_generic(struct ixgbe_hw *hw); 13 12 s32 ixgbe_start_hw_generic(struct ixgbe_hw *hw); 14 13 s32 ixgbe_start_hw_gen2(struct ixgbe_hw *hw);