Subject: [PATCH] net: phy: dp83867: fix semicolon.cocci warnings

From: kbuild test robot <[email-masked]>
Date: Tue, 24 Mar 2020 03:51:41 +0800

From: kbuild test robot <[email-masked]>

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 <[email-masked]>
Signed-off-by: kbuild test robot <[email-masked]>
---

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);