OSDN Git Service

net: intel: Remove unused function pointer typedef ixgbe_mc_addr_itr
authorChen Lin <chen.lin5@zte.com.cn>
Mon, 15 Feb 2021 12:04:58 +0000 (20:04 +0800)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Wed, 14 Apr 2021 02:08:48 +0000 (19:08 -0700)
Remove the 'ixgbe_mc_addr_itr' typedef as it is not used.

Signed-off-by: Chen Lin <chen.lin5@zte.com.cn>
Tested-by: Dave Switzer <david.switzer@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_type.h
drivers/net/ethernet/intel/ixgbevf/vf.h

index 4c317b0..2647937 100644 (file)
@@ -3384,10 +3384,6 @@ struct ixgbe_hw_stats {
 /* forward declaration */
 struct ixgbe_hw;
 
-/* iterator type for walking multicast address lists */
-typedef u8* (*ixgbe_mc_addr_itr) (struct ixgbe_hw *hw, u8 **mc_addr_ptr,
-                                 u32 *vmdq);
-
 /* Function pointer table */
 struct ixgbe_eeprom_operations {
        s32 (*init_params)(struct ixgbe_hw *);
index d1e9e30..1d8209d 100644 (file)
@@ -16,9 +16,6 @@
 
 struct ixgbe_hw;
 
-/* iterator type for walking multicast address lists */
-typedef u8* (*ixgbe_mc_addr_itr) (struct ixgbe_hw *hw, u8 **mc_addr_ptr,
-                                 u32 *vmdq);
 struct ixgbe_mac_operations {
        s32 (*init_hw)(struct ixgbe_hw *);
        s32 (*reset_hw)(struct ixgbe_hw *);