From dbbba1ac108a938fc7ac17a46c9202bfd254bcd0 Mon Sep 17 00:00:00 2001 From: christos Date: Fri, 17 Apr 2009 20:32:27 +0000 Subject: [PATCH] appease gcc --- sys/dev/pci/ehci_pci.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/dev/pci/ehci_pci.c b/sys/dev/pci/ehci_pci.c index 08d225e35474..513919c396f7 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 -__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 #include @@ -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);