Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/ic remove extra arguments



details:   https://anonhg.NetBSD.org/src/rev/ec2dda88b5ca
branches:  trunk
changeset: 953483:ec2dda88b5ca
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Mar 10 18:26:16 2021 +0000

description:
remove extra arguments

diffstat:

 sys/dev/ic/gem.c |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (39 lines):

diff -r ad8e20d4445b -r ec2dda88b5ca sys/dev/ic/gem.c
--- a/sys/dev/ic/gem.c  Wed Mar 10 15:21:11 2021 +0000
+++ b/sys/dev/ic/gem.c  Wed Mar 10 18:26:16 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: gem.c,v 1.133 2021/01/30 07:53:01 jdc Exp $ */
+/*     $NetBSD: gem.c,v 1.134 2021/03/10 18:26:16 christos Exp $ */
 
 /*
  *
@@ -37,7 +37,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: gem.c,v 1.133 2021/01/30 07:53:01 jdc Exp $");
+__KERNEL_RCSID(0, "$NetBSD: gem.c,v 1.134 2021/03/10 18:26:16 christos Exp $");
 
 #include "opt_inet.h"
 
@@ -2297,17 +2297,17 @@
                if (rx_fifo_wr_ptr != rx_fifo_rd_ptr) {
                        DPRINTF(sc,
                            ("%s: rx_watchdog: wr & rd ptr different\n",
-                           device_xname(sc->sc_dev), state));
+                           device_xname(sc->sc_dev)));
                        needreset = 0;
                }
                if (sc->sc_rx_fifo_wr_ptr != rx_fifo_wr_ptr) {
                        DPRINTF(sc, ("%s: rx_watchdog: wr pointer != saved\n",
-                           device_xname(sc->sc_dev), state));
+                           device_xname(sc->sc_dev)));
                        needreset = 0;
                }
                if (sc->sc_rx_fifo_rd_ptr != rx_fifo_rd_ptr) {
                        DPRINTF(sc, ("%s: rx_watchdog: rd pointer != saved\n",
-                           device_xname(sc->sc_dev), state));
+                           device_xname(sc->sc_dev)));
                        needreset = 0;
                }
                if (needreset) {



Home | Main Index | Thread Index | Old Index