This removes gap_uf, which is no longer used.

Signed-off-by: Dan Streetman <[EMAIL PROTECTED]>



diff -urpN a/drivers/usb/host/ehci-q.c b/drivers/usb/host/ehci-q.c
--- a/drivers/usb/host/ehci-q.c 2005-08-03 13:15:40.000000000 -0400
+++ b/drivers/usb/host/ehci-q.c 2005-08-03 13:19:37.000000000 -0400
@@ -663,7 +663,6 @@ qh_make (
 
                if (urb->dev->speed == USB_SPEED_HIGH) {
                        qh->c_usecs = 0;
-                       qh->gap_uf = 0;
 
                        qh->period = urb->interval >> 3;
                        if (qh->period == 0 && urb->interval != 1) {
@@ -676,9 +675,6 @@ qh_make (
                                goto done;
                        }
                } else {
-                       /* gap is f(FS/LS transfer times) */
-                       qh->gap_uf = 1 + usb_calc_bus_time (urb->dev->speed,
-                                       is_input, 0, maxp) / (125 * 1000);
                        int think_time = urb->dev->tt
                                        ? urb->dev->tt->think_time
                                        : 0;
diff -urpN a/drivers/usb/host/ehci.h b/drivers/usb/host/ehci.h
--- a/drivers/usb/host/ehci.h   2005-08-03 13:15:40.000000000 -0400
+++ b/drivers/usb/host/ehci.h   2005-08-03 13:19:01.000000000 -0400
@@ -414,7 +414,6 @@ struct ehci_qh {
 
        /* periodic schedule info */
        u8                      usecs;          /* intr bandwidth */
-       u8                      gap_uf;         /* uframes split/csplit gap */
        u8                      c_usecs;        /* ... split completion bw */
        u16                     tt_usecs;       /* tt downstream bandwidth */
        unsigned short          period;         /* polling interval */


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to