Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci if_wm.c: remove stray semicolons from struct dec...
details: https://anonhg.NetBSD.org/src/rev/e348c29b49f3
branches: trunk
changeset: 362030:e348c29b49f3
user: rillig <rillig%NetBSD.org@localhost>
date: Sat Feb 26 14:53:05 2022 +0000
description:
if_wm.c: remove stray semicolons from struct declaration
C99 does not allow 'struct { int member;; }'.
No binary change.
diffstat:
sys/dev/pci/if_wm.c | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
diffs (35 lines):
diff -r da95070e762d -r e348c29b49f3 sys/dev/pci/if_wm.c
--- a/sys/dev/pci/if_wm.c Sat Feb 26 13:30:19 2022 +0000
+++ b/sys/dev/pci/if_wm.c Sat Feb 26 14:53:05 2022 +0000
@@ -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 @@
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, ipsum); /* IP checksums checked */
- WM_Q_EVCNT_DEFINE(rxq, tusum); /* TCP/UDP cksums checked */
+ 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 */
#endif
};
Home |
Main Index |
Thread Index |
Old Index