igc: Clean up nvm_operations structure
authorSasha Neftin <sasha.neftin@intel.com>
Mon, 30 Nov 2020 09:24:04 +0000 (11:24 +0200)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Wed, 3 Feb 2021 23:20:32 +0000 (15:20 -0800)
valid_led_default function pointer not in use and can
be removed from nvm_operations structure.

Signed-off-by: Sasha Neftin <sasha.neftin@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/igc/igc_hw.h

index 9da5f83ce456671527028a36b4ed016766f1dfa9..4461f8b9a864b4bf33e196ea3c731afdafbbac95 100644 (file)
@@ -113,7 +113,6 @@ struct igc_nvm_operations {
        s32 (*write)(struct igc_hw *hw, u16 offset, u16 i, u16 *data);
        s32 (*update)(struct igc_hw *hw);
        s32 (*validate)(struct igc_hw *hw);
-       s32 (*valid_led_default)(struct igc_hw *hw, u16 *data);
 };
 
 struct igc_phy_operations {