diff options
| author | Tony Nguyen <[email protected]> | 2019-04-16 17:21:22 +0000 |
|---|---|---|
| committer | Jeff Kirsher <[email protected]> | 2019-05-04 21:31:59 +0000 |
| commit | a03499d614b8d86a7edb4fa0c20e87003248d643 (patch) | |
| tree | e832fe404b0f29c4b6c74f86d5ed8352d2de72e1 /drivers/net/ethernet/intel/ice/ice_ethtool.c | |
| parent | ice: Suppress false-positive style issues reported by static analyzer (diff) | |
| download | kernel-a03499d614b8d86a7edb4fa0c20e87003248d643.tar.gz kernel-a03499d614b8d86a7edb4fa0c20e87003248d643.zip | |
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 <[email protected]>
Signed-off-by: Anirudh Venkataramanan <[email protected]>
Tested-by: Andrew Bowers <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_ethtool.c')
| -rw-r--r-- | drivers/net/ethernet/intel/ice/ice_ethtool.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/intel/ice/ice_ethtool.c b/drivers/net/ethernet/intel/ice/ice_ethtool.c index 08ec2f3c5977..1341fde8d53f 100644 --- a/drivers/net/ethernet/intel/ice/ice_ethtool.c +++ b/drivers/net/ethernet/intel/ice/ice_ethtool.c @@ -1251,7 +1251,7 @@ ice_get_settings_link_up(struct ethtool_link_ksettings *ks, */ static void ice_get_settings_link_down(struct ethtool_link_ksettings *ks, - struct net_device __always_unused *netdev) + struct net_device *netdev) { /* link is down and the driver needs to fall back on * supported PHY types to figure out what info to display |
