lkml.org 
[lkml]   [2020]   [Mar]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] net: phy: dp83867: fix semicolon.cocci warnings
From: kbuild test robot <lkp@intel.com>

drivers/net/phy/dp83867.c:363:2-3: Unneeded semicolon
drivers/net/phy/dp83867.c:398:2-3: Unneeded semicolon


Remove unneeded semicolon.

Generated by: scripts/coccinelle/misc/semicolon.cocci

Fixes: cd26d72d4d43 ("net: phy: dp83867: Add speed optimization feature")
CC: Dan Murphy <dmurphy@ti.com>
Signed-off-by: kbuild test robot <lkp@intel.com>
---

tree: https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git master
head: 09984483db080b541c8242d846c30bc1e6a194e1
commit: cd26d72d4d43175cec8c10bed4df7f21ac5316b3 [54/321] net: phy: dp83867: Add speed optimization feature

dp83867.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

--- a/drivers/net/phy/dp83867.c
+++ b/drivers/net/phy/dp83867.c
@@ -360,7 +360,7 @@ static int dp83867_get_downshift(struct
break;
default:
return -EINVAL;
- };
+ }

*data = enable ? count : DOWNSHIFT_DEV_DISABLE;

@@ -395,7 +395,7 @@ static int dp83867_set_downshift(struct
phydev_err(phydev,
"Downshift count must be 1, 2, 4 or 8\n");
return -EINVAL;
- };
+ }

val = DP83867_DOWNSHIFT_EN;
val |= FIELD_PREP(DP83867_DOWNSHIFT_ATTEMPT_MASK, count);
\
 
 \ /
  Last update: 2020-03-23 20:53    [W:0.053 / U:14.076 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site