From 1fe9e05251d7541eaec5f2f7eea3533ffb256428 Mon Sep 17 00:00:00 2001 From: skrll Date: Wed, 9 Jan 2013 23:02:58 +0000 Subject: [PATCH] Remove unused length member of ctrl xfer in struct ehci_pipe --- sys/dev/usb/ehci.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/sys/dev/usb/ehci.c b/sys/dev/usb/ehci.c index d7b589565800..c9d02cd3d86b 100644 --- a/sys/dev/usb/ehci.c +++ b/sys/dev/usb/ehci.c @@ -1,4 +1,4 @@ -/* $NetBSD: ehci.c,v 1.197 2013/01/07 15:07:40 prlw1 Exp $ */ +/* $NetBSD: ehci.c,v 1.198 2013/01/09 23:02:59 skrll Exp $ */ /* * Copyright (c) 2004-2012 The NetBSD Foundation, Inc. @@ -53,7 +53,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: ehci.c,v 1.197 2013/01/07 15:07:40 prlw1 Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ehci.c,v 1.198 2013/01/09 23:02:59 skrll Exp $"); #include "ohci.h" #include "uhci.h" @@ -115,7 +115,6 @@ struct ehci_pipe { /* Control pipe */ struct { usb_dma_t reqdma; - u_int length; } ctl; /* Interrupt pipe */ struct { @@ -3388,7 +3387,6 @@ ehci_device_request(usbd_xfer_handle xfer) mutex_enter(&sc->sc_lock); sqh = epipe->sqh; - epipe->u.ctl.length = len; /* * Update device address and length since they may have changed