git: ed01695d05b9 - stable/13 - LinuxKPI: Remove stray semicolons
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 07 Nov 2024 16:33:24 UTC
The branch stable/13 has been updated by zlei:
URL: https://cgit.FreeBSD.org/src/commit/?id=ed01695d05b93a577d1ea838b443af2dfb76dd3a
commit ed01695d05b93a577d1ea838b443af2dfb76dd3a
Author: Zhenlei Huang <zlei@FreeBSD.org>
AuthorDate: 2024-10-24 15:04:48 +0000
Commit: Zhenlei Huang <zlei@FreeBSD.org>
CommitDate: 2024-11-07 16:32:17 +0000
LinuxKPI: Remove stray semicolons
MFC after: 1 week
(cherry picked from commit b4856b8e9d872ca6ee0c4ef43e7047693ef7645b)
(cherry picked from commit 5942658cf3573bc3df9c378b688beb7549754773)
---
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 f6d3216e3b0f..0e248db760a4 100644
--- a/sys/compat/linuxkpi/common/include/linux/kernel.h
+++ b/sys/compat/linuxkpi/common/include/linux/kernel.h
@@ -718,7 +718,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 ee3f427aa6e9..73ad1404b194 100644
--- a/sys/compat/linuxkpi/common/include/linux/skbuff.h
+++ b/sys/compat/linuxkpi/common/include/linux/skbuff.h
@@ -606,7 +606,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;