summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2013-11-04 16:54:36 +0000
committerchristos <christos@NetBSD.org>2013-11-04 16:54:36 +0000
commit594764e60e21a1209280216dfd2ea07cb371b344 (patch)
tree26669656d265c7d0dd286060a10ebd3b2c3c1fc2 /sys/dev
parentfc05803d4368be856e53ad0557b6259986b56649 (diff)
mark a variable __diagused
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/usb/ehci.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/usb/ehci.c b/sys/dev/usb/ehci.c
index 9fe403d5e01..d7d84c99204 100644
--- a/sys/dev/usb/ehci.c
+++ b/sys/dev/usb/ehci.c
@@ -1,4 +1,4 @@
-/* $NetBSD: ehci.c,v 1.214 2013/11/01 15:33:48 skrll Exp $ */
+/* $NetBSD: ehci.c,v 1.215 2013/11/04 16:54:36 christos Exp $ */
/*
* Copyright (c) 2004-2012 The NetBSD Foundation, Inc.
@@ -53,7 +53,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ehci.c,v 1.214 2013/11/01 15:33:48 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ehci.c,v 1.215 2013/11/04 16:54:36 christos Exp $");
#include "ohci.h"
#include "uhci.h"
@@ -1902,7 +1902,7 @@ ehci_set_qh_qtd(ehci_soft_qh_t *sqh, ehci_soft_qtd_t *sqtd)
Static void
ehci_sync_hc(ehci_softc_t *sc)
{
- int error;
+ int error __diagused;
KASSERT(mutex_owned(&sc->sc_lock));