Module Name: src
Committed By: christos
Date: Mon Nov 4 16:54:36 UTC 2013
Modified Files:
src/sys/dev/usb: ehci.c
Log Message:
mark a variable __diagused
To generate a diff of this commit:
cvs rdiff -u -r1.214 -r1.215 src/sys/dev/usb/ehci.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/usb/ehci.c
diff -u src/sys/dev/usb/ehci.c:1.214 src/sys/dev/usb/ehci.c:1.215
--- src/sys/dev/usb/ehci.c:1.214 Fri Nov 1 11:33:48 2013
+++ src/sys/dev/usb/ehci.c Mon Nov 4 11:54:36 2013
@@ -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, ehc
Static void
ehci_sync_hc(ehci_softc_t *sc)
{
- int error;
+ int error __diagused;
KASSERT(mutex_owned(&sc->sc_lock));