Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/usb Another __diagused



details:   https://anonhg.NetBSD.org/src/rev/fa58b5f828b3
branches:  trunk
changeset: 330970:fa58b5f828b3
user:      pgoyette <pgoyette%NetBSD.org@localhost>
date:      Sat Jul 26 00:17:57 2014 +0000

description:
Another __diagused

diffstat:

 sys/dev/usb/xhci.c |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (28 lines):

diff -r 018a5ed8a47f -r fa58b5f828b3 sys/dev/usb/xhci.c
--- a/sys/dev/usb/xhci.c        Fri Jul 25 23:21:46 2014 +0000
+++ b/sys/dev/usb/xhci.c        Sat Jul 26 00:17:57 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: xhci.c,v 1.19 2014/07/15 03:40:06 ozaki-r Exp $        */
+/*     $NetBSD: xhci.c,v 1.20 2014/07/26 00:17:57 pgoyette Exp $       */
 
 /*
  * Copyright (c) 2013 Jonathan A. Kollasch
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: xhci.c,v 1.19 2014/07/15 03:40:06 ozaki-r Exp $");
+__KERNEL_RCSID(0, "$NetBSD: xhci.c,v 1.20 2014/07/26 00:17:57 pgoyette Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -2821,7 +2821,8 @@
 static void
 xhci_device_intr_done(usbd_xfer_handle xfer)
 {
-       struct xhci_softc * const sc = xfer->pipe->device->bus->hci_private;
+       struct xhci_softc * const sc __diagused =
+               xfer->pipe->device->bus->hci_private;
 #ifdef XHCI_DEBUG
        struct xhci_slot * const xs = xfer->pipe->device->hci_private;
        const u_int dci = xhci_ep_get_dci(xfer->pipe->endpoint->edesc);



Home | Main Index | Thread Index | Old Index