* [Intel-wired-lan] [next-queue] ice: Cleanup unneeded parenthesis
@ 2020-02-21 22:15 Jeff Kirsher
2020-02-22 1:05 ` Bowers, AndrewX
0 siblings, 1 reply; 2+ messages in thread
From: Jeff Kirsher @ 2020-02-21 22:15 UTC (permalink / raw)
To: intel-wired-lan
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>
---
drivers/net/ethernet/intel/ice/ice_dcb_lib.c | 4 ++--
1 file 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 81b13781e0e8..49e05f8ad93e 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;
}
/**
--
2.24.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Intel-wired-lan] [next-queue] ice: Cleanup unneeded parenthesis
2020-02-21 22:15 [Intel-wired-lan] [next-queue] ice: Cleanup unneeded parenthesis Jeff Kirsher
@ 2020-02-22 1:05 ` Bowers, AndrewX
0 siblings, 0 replies; 2+ messages in thread
From: Bowers, AndrewX @ 2020-02-22 1:05 UTC (permalink / raw)
To: intel-wired-lan
> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at osuosl.org] On
> Behalf Of Jeff Kirsher
> Sent: Friday, February 21, 2020 2:15 PM
> To: intel-wired-lan at lists.osuosl.org
> Cc: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
> Subject: [Intel-wired-lan] [next-queue] 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>
> ---
> drivers/net/ethernet/intel/ice/ice_dcb_lib.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-02-22 1:05 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-02-21 22:15 [Intel-wired-lan] [next-queue] ice: Cleanup unneeded parenthesis Jeff Kirsher
2020-02-22 1:05 ` Bowers, AndrewX
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox