mirror of
https://github.com/edk2-porting/linux-next.git
synced 2025-01-19 02:54:00 +08:00
ice: Cleanup unneeded parenthesis
Sergei Shtylyov pointed out that two instances of parenthesis are not needed, so remove them. Suggested-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
This commit is contained in:
parent
6c9ee30693
commit
f3beaf246f
@ -77,9 +77,9 @@ static u8 ice_dcb_get_mode(struct ice_port_info *port_info, bool host)
|
||||
mode = DCB_CAP_DCBX_LLD_MANAGED;
|
||||
|
||||
if (port_info->local_dcbx_cfg.dcbx_mode & ICE_DCBX_MODE_CEE)
|
||||
return (mode | DCB_CAP_DCBX_VER_CEE);
|
||||
return mode | DCB_CAP_DCBX_VER_CEE;
|
||||
else
|
||||
return (mode | DCB_CAP_DCBX_VER_IEEE);
|
||||
return mode | DCB_CAP_DCBX_VER_IEEE;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user