aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/ice/ice_common.c
diff options
context:
space:
mode:
authorBruce Allan <[email protected]>2018-10-26 18:44:45 +0000
committerJeff Kirsher <[email protected]>2018-11-20 19:39:04 +0000
commit2c5492de8770b72cb9c97c91fbcbb90c16470819 (patch)
tree15559c96acae1027b13e356f01da76c923ac6c46 /drivers/net/ethernet/intel/ice/ice_common.c
parentice: Cleanup ice_tx_timeout() (diff)
downloadkernel-2c5492de8770b72cb9c97c91fbcbb90c16470819.tar.gz
kernel-2c5492de8770b72cb9c97c91fbcbb90c16470819.zip
ice: Cleanup short function signatures
Function signatures that do not exceed 80-characters should be on a single line. Signed-off-by: Bruce Allan <[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_common.c')
-rw-r--r--drivers/net/ethernet/intel/ice/ice_common.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/ethernet/intel/ice/ice_common.c b/drivers/net/ethernet/intel/ice/ice_common.c
index 0b528602c4c9..b3d73be9f649 100644
--- a/drivers/net/ethernet/intel/ice/ice_common.c
+++ b/drivers/net/ethernet/intel/ice/ice_common.c
@@ -1713,8 +1713,7 @@ void ice_clear_pxe_mode(struct ice_hw *hw)
* If no bit gets set, ICE_LINK_SPEED_UNKNOWN will be returned
* If more than one bit gets set, ICE_LINK_SPEED_UNKNOWN will be returned
*/
-static u16
-ice_get_link_speed_based_on_phy_type(u64 phy_type_low)
+static u16 ice_get_link_speed_based_on_phy_type(u64 phy_type_low)
{
u16 speed_phy_type_low = ICE_AQ_LINK_SPEED_UNKNOWN;