Module Name: src
Committed By: tnn
Date: Sat Nov 2 21:11:55 UTC 2019
Modified Files:
src/sys/dev/pci: if_ste.c
Log Message:
cast away unused return value
To generate a diff of this commit:
cvs rdiff -u -r1.57 -r1.58 src/sys/dev/pci/if_ste.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_ste.c
diff -u src/sys/dev/pci/if_ste.c:1.57 src/sys/dev/pci/if_ste.c:1.58
--- src/sys/dev/pci/if_ste.c:1.57 Wed Oct 30 07:26:28 2019
+++ src/sys/dev/pci/if_ste.c Sat Nov 2 21:11:55 2019
@@ -1,4 +1,4 @@
-/* $NetBSD: if_ste.c,v 1.57 2019/10/30 07:26:28 msaitoh Exp $ */
+/* $NetBSD: if_ste.c,v 1.58 2019/11/02 21:11:55 tnn Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -35,7 +35,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_ste.c,v 1.57 2019/10/30 07:26:28 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_ste.c,v 1.58 2019/11/02 21:11:55 tnn Exp $");
#include <sys/param.h>
@@ -1100,7 +1100,7 @@ ste_stats_update(struct ste_softc *sc)
ifp->if_opackets +=
(u_int) bus_space_read_2(st, sh, STE_FramesTransmittedOK);
- (u_int) bus_space_read_2(st, sh, STE_FramesReceivedOK);
+ (void) bus_space_read_2(st, sh, STE_FramesReceivedOK);
ifp->if_collisions +=
(u_int) bus_space_read_1(st, sh, STE_LateCollisions) +