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: do not return a void value from a void fu...



details:   https://anonhg.NetBSD.org/src/rev/08b751a00416
branches:  trunk
changeset: 1021030:08b751a00416
user:      rillig <rillig%NetBSD.org@localhost>
date:      Mon May 03 07:43:31 2021 +0000

description:
if_wm: do not return a void value from a void function

This is a GCC extension.

diffstat:

 sys/dev/pci/if_wm.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 682fffe14474 -r 08b751a00416 sys/dev/pci/if_wm.c
--- a/sys/dev/pci/if_wm.c       Mon May 03 07:30:19 2021 +0000
+++ b/sys/dev/pci/if_wm.c       Mon May 03 07:43:31 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_wm.c,v 1.702 2021/03/11 01:23:33 msaitoh Exp $      */
+/*     $NetBSD: if_wm.c,v 1.703 2021/05/03 07:43:31 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.702 2021/03/11 01:23:33 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_wm.c,v 1.703 2021/05/03 07:43:31 rillig Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_net_mpsafe.h"
@@ -14549,7 +14549,7 @@
 
        DPRINTF(sc, WM_DEBUG_LOCK, ("%s: %s called\n",
                device_xname(sc->sc_dev), __func__));
-       return wm_put_swfw_semaphore(sc, swfwphysem[sc->sc_funcid]);
+       wm_put_swfw_semaphore(sc, swfwphysem[sc->sc_funcid]);
 }
 
 static int



Home | Main Index | Thread Index | Old Index