git: 5942658cf357 - stable/14 - LinuxKPI: Remove stray semicolons

From: Zhenlei Huang <zlei_at_FreeBSD.org>
Date: Thu, 31 Oct 2024 04:43:57 UTC
The branch stable/14 has been updated by zlei:

URL: https://cgit.FreeBSD.org/src/commit/?id=5942658cf3573bc3df9c378b688beb7549754773

commit 5942658cf3573bc3df9c378b688beb7549754773
Author:     Zhenlei Huang <zlei@FreeBSD.org>
AuthorDate: 2024-10-24 15:04:48 +0000
Commit:     Zhenlei Huang <zlei@FreeBSD.org>
CommitDate: 2024-10-31 04:40:17 +0000

    LinuxKPI: Remove stray semicolons
    
    MFC after:      1 week
    
    (cherry picked from commit b4856b8e9d872ca6ee0c4ef43e7047693ef7645b)
---
 sys/compat/linuxkpi/common/include/linux/kernel.h | 2 +-
 sys/compat/linuxkpi/common/include/linux/skbuff.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys/compat/linuxkpi/common/include/linux/kernel.h b/sys/compat/linuxkpi/common/include/linux/kernel.h
index 0786151c4ca8..7086cdb3ff03 100644
--- a/sys/compat/linuxkpi/common/include/linux/kernel.h
+++ b/sys/compat/linuxkpi/common/include/linux/kernel.h
@@ -342,7 +342,7 @@ static inline bool
 mac_pton(const char *macin, uint8_t *macout)
 {
 	const char *s, *d;
-	uint8_t mac[6], hx, lx;;
+	uint8_t mac[6], hx, lx;
 	int i;
 
 	if (strlen(macin) < (3 * 6 - 1))
diff --git a/sys/compat/linuxkpi/common/include/linux/skbuff.h b/sys/compat/linuxkpi/common/include/linux/skbuff.h
index d3839820d3d5..341ed33ddfcd 100644
--- a/sys/compat/linuxkpi/common/include/linux/skbuff.h
+++ b/sys/compat/linuxkpi/common/include/linux/skbuff.h
@@ -614,7 +614,7 @@ static inline void
 __skb_unlink(struct sk_buff *skb, struct sk_buff_head *head)
 {
 	SKB_TRACE2(skb, head);
-	struct sk_buff *p, *n;;
+	struct sk_buff *p, *n;
 
 	head->qlen--;
 	p = skb->prev;