Module Name:    src
Committed By:   rillig
Date:           Sat Feb 26 14:53:05 UTC 2022

Modified Files:
        src/sys/dev/pci: if_wm.c

Log Message:
if_wm.c: remove stray semicolons from struct declaration

C99 does not allow 'struct { int member;; }'.

No binary change.


To generate a diff of this commit:
cvs rdiff -u -r1.727 -r1.728 src/sys/dev/pci/if_wm.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dev/pci/if_wm.c
diff -u src/sys/dev/pci/if_wm.c:1.727 src/sys/dev/pci/if_wm.c:1.728
--- src/sys/dev/pci/if_wm.c:1.727	Wed Feb 16 03:15:27 2022
+++ src/sys/dev/pci/if_wm.c	Sat Feb 26 14:53:05 2022
@@ -1,4 +1,4 @@
-/*	$NetBSD: if_wm.c,v 1.727 2022/02/16 03:15:27 msaitoh Exp $	*/
+/*	$NetBSD: if_wm.c,v 1.728 2022/02/26 14:53:05 rillig Exp $	*/
 
 /*
  * Copyright (c) 2001, 2002, 2003, 2004 Wasabi Systems, Inc.
@@ -82,7 +82,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_wm.c,v 1.727 2022/02/16 03:15:27 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_wm.c,v 1.728 2022/02/26 14:53:05 rillig Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_net_mpsafe.h"
@@ -471,11 +471,11 @@ struct wm_rxqueue {
 	uint32_t rxq_bytes;		/* for AIM */
 #ifdef WM_EVENT_COUNTERS
 	/* RX event counters */
-	WM_Q_EVCNT_DEFINE(rxq, intr);	/* Interrupts */
-	WM_Q_EVCNT_DEFINE(rxq, defer);	/* Rx deferred processing */
+	WM_Q_EVCNT_DEFINE(rxq, intr)	/* Interrupts */
+	WM_Q_EVCNT_DEFINE(rxq, defer)	/* Rx deferred processing */
 
-	WM_Q_EVCNT_DEFINE(rxq, ipsum);	/* IP checksums checked */
-	WM_Q_EVCNT_DEFINE(rxq, tusum);	/* TCP/UDP cksums checked */
+	WM_Q_EVCNT_DEFINE(rxq, ipsum)	/* IP checksums checked */
+	WM_Q_EVCNT_DEFINE(rxq, tusum)	/* TCP/UDP cksums checked */
 #endif
 };
 

Reply via email to