Module Name: src
Committed By: christos
Date: Fri Apr 17 20:32:27 UTC 2009
Modified Files:
src/sys/dev/pci: ehci_pci.c
Log Message:
appease gcc
To generate a diff of this commit:
cvs rdiff -u -r1.41 -r1.42 src/sys/dev/pci/ehci_pci.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/ehci_pci.c
diff -u src/sys/dev/pci/ehci_pci.c:1.41 src/sys/dev/pci/ehci_pci.c:1.42
--- src/sys/dev/pci/ehci_pci.c:1.41 Fri Apr 17 15:44:13 2009
+++ src/sys/dev/pci/ehci_pci.c Fri Apr 17 16:32:27 2009
@@ -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 @@
/* 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);