diff options
author | Bruce Allan <bruce.w.allan@intel.com> | 2018-10-26 14:44:45 -0400 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2018-11-20 14:39:04 -0500 |
commit | 2c5492de8770b72cb9c97c91fbcbb90c16470819 (patch) | |
tree | 15559c96acae1027b13e356f01da76c923ac6c46 /drivers/net/ethernet | |
parent | bc0c6fab8a1e0d6eb3309b5b0512b5cd06f07979 (diff) |
ice: Cleanup short function signatures
Function signatures that do not exceed 80-characters should be on a single
line.
Signed-off-by: Bruce Allan <bruce.w.allan@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>
Diffstat (limited to 'drivers/net/ethernet')
-rw-r--r-- | drivers/net/ethernet/intel/ice/ice_common.c | 3 | ||||
-rw-r--r-- | drivers/net/ethernet/intel/ice/ice_sched.c | 6 | ||||
-rw-r--r-- | drivers/net/ethernet/intel/ice/ice_switch.c | 3 |
3 files changed, 4 insertions, 8 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) | |||
1713 | * If no bit gets set, ICE_LINK_SPEED_UNKNOWN will be returned | 1713 | * If no bit gets set, ICE_LINK_SPEED_UNKNOWN will be returned |
1714 | * If more than one bit gets set, ICE_LINK_SPEED_UNKNOWN will be returned | 1714 | * If more than one bit gets set, ICE_LINK_SPEED_UNKNOWN will be returned |
1715 | */ | 1715 | */ |
1716 | static u16 | 1716 | static u16 ice_get_link_speed_based_on_phy_type(u64 phy_type_low) |
1717 | ice_get_link_speed_based_on_phy_type(u64 phy_type_low) | ||
1718 | { | 1717 | { |
1719 | u16 speed_phy_type_low = ICE_AQ_LINK_SPEED_UNKNOWN; | 1718 | u16 speed_phy_type_low = ICE_AQ_LINK_SPEED_UNKNOWN; |
1720 | 1719 | ||
diff --git a/drivers/net/ethernet/intel/ice/ice_sched.c b/drivers/net/ethernet/intel/ice/ice_sched.c index 7293e4f4d758..84a552ab3e26 100644 --- a/drivers/net/ethernet/intel/ice/ice_sched.c +++ b/drivers/net/ethernet/intel/ice/ice_sched.c | |||
@@ -894,8 +894,7 @@ static u8 ice_sched_get_vsi_layer(struct ice_hw *hw) | |||
894 | * This function removes the leaf node that was created by the FW | 894 | * This function removes the leaf node that was created by the FW |
895 | * during initialization | 895 | * during initialization |
896 | */ | 896 | */ |
897 | static void | 897 | static void ice_rm_dflt_leaf_node(struct ice_port_info *pi) |
898 | ice_rm_dflt_leaf_node(struct ice_port_info *pi) | ||
899 | { | 898 | { |
900 | struct ice_sched_node *node; | 899 | struct ice_sched_node *node; |
901 | 900 | ||
@@ -923,8 +922,7 @@ ice_rm_dflt_leaf_node(struct ice_port_info *pi) | |||
923 | * This function frees all the nodes except root and TC that were created by | 922 | * This function frees all the nodes except root and TC that were created by |
924 | * the FW during initialization | 923 | * the FW during initialization |
925 | */ | 924 | */ |
926 | static void | 925 | static void ice_sched_rm_dflt_nodes(struct ice_port_info *pi) |
927 | ice_sched_rm_dflt_nodes(struct ice_port_info *pi) | ||
928 | { | 926 | { |
929 | struct ice_sched_node *node; | 927 | struct ice_sched_node *node; |
930 | 928 | ||
diff --git a/drivers/net/ethernet/intel/ice/ice_switch.c b/drivers/net/ethernet/intel/ice/ice_switch.c index 107ca08899b6..af55c74c2378 100644 --- a/drivers/net/ethernet/intel/ice/ice_switch.c +++ b/drivers/net/ethernet/intel/ice/ice_switch.c | |||
@@ -92,8 +92,7 @@ ice_aq_alloc_free_res(struct ice_hw *hw, u16 num_entries, | |||
92 | * Allocate memory for the entire recipe table and initialize the structures/ | 92 | * Allocate memory for the entire recipe table and initialize the structures/ |
93 | * entries corresponding to basic recipes. | 93 | * entries corresponding to basic recipes. |
94 | */ | 94 | */ |
95 | enum ice_status | 95 | enum ice_status ice_init_def_sw_recp(struct ice_hw *hw) |
96 | ice_init_def_sw_recp(struct ice_hw *hw) | ||
97 | { | 96 | { |
98 | struct ice_sw_recipe *recps; | 97 | struct ice_sw_recipe *recps; |
99 | u8 i; | 98 | u8 i; |