git: b4856b8e9d87 - main - LinuxKPI: Remove stray semicolons
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 24 Oct 2024 15:06:44 UTC
The branch main has been updated by zlei: URL: https://cgit.FreeBSD.org/src/commit/?id=b4856b8e9d872ca6ee0c4ef43e7047693ef7645b commit b4856b8e9d872ca6ee0c4ef43e7047693ef7645b Author: Zhenlei Huang <zlei@FreeBSD.org> AuthorDate: 2024-10-24 15:04:48 +0000 Commit: Zhenlei Huang <zlei@FreeBSD.org> CommitDate: 2024-10-24 15:04:48 +0000 LinuxKPI: Remove stray semicolons MFC after: 1 week --- 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 43938cdf73de..11a13cbd49b4 100644 --- a/sys/compat/linuxkpi/common/include/linux/kernel.h +++ b/sys/compat/linuxkpi/common/include/linux/kernel.h @@ -341,7 +341,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;