summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2009-04-17 20:32:27 +0000
committerchristos <christos@NetBSD.org>2009-04-17 20:32:27 +0000
commitdbbba1ac108a938fc7ac17a46c9202bfd254bcd0 (patch)
tree7787fc178270b07bbef360644d3622930bcd5c9e /sys/dev
parentf853fb7538d93a656bde98524cf815b3960dbdba (diff)
appease gcc
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/pci/ehci_pci.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/pci/ehci_pci.c b/sys/dev/pci/ehci_pci.c
index 08d225e3547..513919c396f 100644
--- a/sys/dev/pci/ehci_pci.c
+++ b/sys/dev/pci/ehci_pci.c
@@ -1,4 +1,4 @@
-/* $NetBSD: ehci_pci.c,v 1.41 2009/04/17 19:44:13 dyoung Exp $ */
+/* $NetBSD: ehci_pci.c,v 1.42 2009/04/17 20:32:27 christos Exp $ */
/*
* Copyright (c) 2001, 2002 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ehci_pci.c,v 1.41 2009/04/17 19:44:13 dyoung Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ehci_pci.c,v 1.42 2009/04/17 20:32:27 christos Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -233,7 +233,7 @@ ehci_pci_detach(device_t self, int flags)
/* disable interrupts */
EOWRITE2(&sc->sc, EHCI_USBINTR, 0);
/* XXX grotty hack to flush the write */
- EOREAD2(&sc->sc, EHCI_USBINTR);
+ (void)EOREAD2(&sc->sc, EHCI_USBINTR);
if (sc->sc_ih != NULL) {
pci_intr_disestablish(sc->sc_pc, sc->sc_ih);