ice: Cleanup unneeded parenthesis
authorJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 21 Feb 2020 22:15:27 +0000 (14:15 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 10 Mar 2020 20:09:51 +0000 (13:09 -0700)
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>
drivers/net/ethernet/intel/ice/ice_dcb_lib.c

index 16656b6..8279071 100644 (file)
@@ -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;
 }
 
 /**