Skip to content

Commit f3beaf2

Browse files
author
Jeff Kirsher
committed
ice: Cleanup unneeded parenthesis
Sergei Shtylyov pointed out that two instances of parenthesis are not needed, so remove them. Suggested-by: Sergei Shtylyov <[email protected]> Signed-off-by: Jeff Kirsher <[email protected]> Tested-by: Andrew Bowers <[email protected]>
1 parent 6c9ee30 commit f3beaf2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/net/ethernet/intel/ice/ice_dcb_lib.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,9 @@ static u8 ice_dcb_get_mode(struct ice_port_info *port_info, bool host)
7777
mode = DCB_CAP_DCBX_LLD_MANAGED;
7878

7979
if (port_info->local_dcbx_cfg.dcbx_mode & ICE_DCBX_MODE_CEE)
80-
return (mode | DCB_CAP_DCBX_VER_CEE);
80+
return mode | DCB_CAP_DCBX_VER_CEE;
8181
else
82-
return (mode | DCB_CAP_DCBX_VER_IEEE);
82+
return mode | DCB_CAP_DCBX_VER_IEEE;
8383
}
8484

8585
/**

0 commit comments

Comments
 (0)