Commit 2c5492de authored by Bruce Allan's avatar Bruce Allan Committed by Jeff Kirsher

ice: Cleanup short function signatures

Function signatures that do not exceed 80-characters should be on a single
line.
Signed-off-by: default avatarBruce Allan <bruce.w.allan@intel.com>
Signed-off-by: default avatarAnirudh Venkataramanan <anirudh.venkataramanan@intel.com>
Tested-by: default avatarAndrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
parent bc0c6fab
...@@ -1713,8 +1713,7 @@ void ice_clear_pxe_mode(struct ice_hw *hw) ...@@ -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 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 * If more than one bit gets set, ICE_LINK_SPEED_UNKNOWN will be returned
*/ */
static u16 static u16 ice_get_link_speed_based_on_phy_type(u64 phy_type_low)
ice_get_link_speed_based_on_phy_type(u64 phy_type_low)
{ {
u16 speed_phy_type_low = ICE_AQ_LINK_SPEED_UNKNOWN; u16 speed_phy_type_low = ICE_AQ_LINK_SPEED_UNKNOWN;
......
...@@ -894,8 +894,7 @@ static u8 ice_sched_get_vsi_layer(struct ice_hw *hw) ...@@ -894,8 +894,7 @@ static u8 ice_sched_get_vsi_layer(struct ice_hw *hw)
* This function removes the leaf node that was created by the FW * This function removes the leaf node that was created by the FW
* during initialization * during initialization
*/ */
static void static void ice_rm_dflt_leaf_node(struct ice_port_info *pi)
ice_rm_dflt_leaf_node(struct ice_port_info *pi)
{ {
struct ice_sched_node *node; struct ice_sched_node *node;
...@@ -923,8 +922,7 @@ ice_rm_dflt_leaf_node(struct ice_port_info *pi) ...@@ -923,8 +922,7 @@ ice_rm_dflt_leaf_node(struct ice_port_info *pi)
* This function frees all the nodes except root and TC that were created by * This function frees all the nodes except root and TC that were created by
* the FW during initialization * the FW during initialization
*/ */
static void static void ice_sched_rm_dflt_nodes(struct ice_port_info *pi)
ice_sched_rm_dflt_nodes(struct ice_port_info *pi)
{ {
struct ice_sched_node *node; struct ice_sched_node *node;
......
...@@ -92,8 +92,7 @@ ice_aq_alloc_free_res(struct ice_hw *hw, u16 num_entries, ...@@ -92,8 +92,7 @@ ice_aq_alloc_free_res(struct ice_hw *hw, u16 num_entries,
* Allocate memory for the entire recipe table and initialize the structures/ * Allocate memory for the entire recipe table and initialize the structures/
* entries corresponding to basic recipes. * entries corresponding to basic recipes.
*/ */
enum ice_status enum ice_status ice_init_def_sw_recp(struct ice_hw *hw)
ice_init_def_sw_recp(struct ice_hw *hw)
{ {
struct ice_sw_recipe *recps; struct ice_sw_recipe *recps;
u8 i; u8 i;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment