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

ice: Remove __always_unused attribute

The variable netdev is being used in this function; remove the
__always_unused attribute from it.

Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Signed-off-by: Anirudh Venkataramanan <anirudh.venkataramanan@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>

authored by

Tony Nguyen and committed by
Jeff Kirsher
a03499d6 c3a6825e

+1 -1
+1 -1
drivers/net/ethernet/intel/ice/ice_ethtool.c
··· 1251 1251 */ 1252 1252 static void 1253 1253 ice_get_settings_link_down(struct ethtool_link_ksettings *ks, 1254 - struct net_device __always_unused *netdev) 1254 + struct net_device *netdev) 1255 1255 { 1256 1256 /* link is down and the driver needs to fall back on 1257 1257 * supported PHY types to figure out what info to display