diff options
| author | Jeff Kirsher <[email protected]> | 2020-02-21 22:15:27 +0000 |
|---|---|---|
| committer | Jeff Kirsher <[email protected]> | 2020-03-10 20:09:51 +0000 |
| commit | f3beaf246f5390a49e905a7f0e0317f61030b7db (patch) | |
| tree | e207a4cb18f6eec67703bc67513ca347dbe0cda2 /drivers/net/ethernet/intel/ice/ice_dcb_lib.c | |
| parent | Merge tag 'mlx5-updates-2020-03-09' of git://git.kernel.org/pub/scm/linux/ker... (diff) | |
| download | kernel-f3beaf246f5390a49e905a7f0e0317f61030b7db.tar.gz kernel-f3beaf246f5390a49e905a7f0e0317f61030b7db.zip | |
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]>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_dcb_lib.c')
| -rw-r--r-- | drivers/net/ethernet/intel/ice/ice_dcb_lib.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ethernet/intel/ice/ice_dcb_lib.c b/drivers/net/ethernet/intel/ice/ice_dcb_lib.c index 16656b6c3d09..82790717c5a5 100644 --- a/drivers/net/ethernet/intel/ice/ice_dcb_lib.c +++ b/drivers/net/ethernet/intel/ice/ice_dcb_lib.c @@ -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; } /** |
