From e0924eeb835f275e854083ad77f86af4917a7eb5 Mon Sep 17 00:00:00 2001 From: martin Date: Thu, 12 Sep 2013 19:53:41 +0000 Subject: [PATCH] Remove unused variables --- sys/dev/usb/ehci.c | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/sys/dev/usb/ehci.c b/sys/dev/usb/ehci.c index fce110e1c909..23ab2a07ca48 100644 --- a/sys/dev/usb/ehci.c +++ b/sys/dev/usb/ehci.c @@ -1,4 +1,4 @@ -/* $NetBSD: ehci.c,v 1.211 2013/09/07 19:53:24 matt Exp $ */ +/* $NetBSD: ehci.c,v 1.212 2013/09/12 19:53:41 martin Exp $ */ /* * Copyright (c) 2004-2012 The NetBSD Foundation, Inc. @@ -53,7 +53,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: ehci.c,v 1.211 2013/09/07 19:53:24 matt Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ehci.c,v 1.212 2013/09/12 19:53:41 martin Exp $"); #include "ohci.h" #include "uhci.h" @@ -706,7 +706,6 @@ ehci_pcd(void *addr) { ehci_softc_t *sc = addr; usbd_xfer_handle xfer; - usbd_pipe_handle pipe; u_char *p; int i, m; @@ -718,8 +717,6 @@ ehci_pcd(void *addr) goto done; } - pipe = xfer->pipe; - p = KERNADDR(&xfer->dmabuf, 0); m = min(sc->sc_noport, xfer->length * 8 - 1); memset(p, 0, xfer->length); @@ -3934,7 +3931,6 @@ Static usbd_status ehci_device_isoc_start(usbd_xfer_handle xfer) { struct ehci_pipe *epipe; - usbd_device_handle dev; ehci_softc_t *sc; struct ehci_xfer *exfer; ehci_soft_itd_t *itd, *prev, *start, *stop; @@ -3950,7 +3946,6 @@ ehci_device_isoc_start(usbd_xfer_handle xfer) total_length = 0; exfer = (struct ehci_xfer *) xfer; sc = xfer->pipe->device->bus->hci_private; - dev = xfer->pipe->device; epipe = (struct ehci_pipe *)xfer->pipe; /*