e1000e: resolve -Wunused-parameter compile warnings
Remove the unused parameter when possible, otherwise use __always_unused attribute. Signed-off-by: Bruce Allan <bruce.w.allan@intel.com> Tested-by: Aaron Brown <aaron.f.brown@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
This commit is contained in:
committed by
Jeff Kirsher
parent
9e01990181
commit
8bb628697f
@ -2178,7 +2178,7 @@ s32 e1000e_phy_hw_reset_generic(struct e1000_hw *hw)
|
||||
* Generic function to wait 10 milli-seconds for configuration to complete
|
||||
* and return success.
|
||||
**/
|
||||
s32 e1000e_get_cfg_done_generic(struct e1000_hw *hw)
|
||||
s32 e1000e_get_cfg_done_generic(struct e1000_hw __always_unused *hw)
|
||||
{
|
||||
mdelay(10);
|
||||
|
||||
|
Reference in New Issue
Block a user