# This is a BitKeeper generated patch for the following project: # Project Name: Linux kernel tree # This patch format is intended for GNU patch command version 2.5 or higher. # This patch includes the following deltas: # ChangeSet 1.532 -> 1.533 # drivers/usb/core/hcd-pci.c 1.5 -> 1.6 # # The following is the BitKeeper ChangeSet Log # -------------------------------------------- # 02/08/27 david-b@pacbell.net 1.533 # [PATCH] usb/core/hcd-pci, pci cleanup # # This doesn't really do what it was expected to do, # and even that shouldn't be needed. So: remove. # -------------------------------------------- # diff -Nru a/drivers/usb/core/hcd-pci.c b/drivers/usb/core/hcd-pci.c --- a/drivers/usb/core/hcd-pci.c Wed Aug 28 23:21:24 2002 +++ b/drivers/usb/core/hcd-pci.c Wed Aug 28 23:21:24 2002 @@ -58,7 +58,6 @@ struct hc_driver *driver; unsigned long resource, len; void *base; - u8 latency, limit; struct usb_hcd *hcd; int retval, region; char buf [8], *bufp = buf; @@ -144,15 +143,6 @@ } info ("%s @ %s, %s", hcd->description, dev->slot_name, dev->name); - - pci_read_config_byte (dev, PCI_LATENCY_TIMER, &latency); - if (latency) { - pci_read_config_byte (dev, PCI_MAX_LAT, &limit); - if (limit && limit < latency) { - dbg ("PCI latency reduced to max %d", limit); - pci_write_config_byte (dev, PCI_LATENCY_TIMER, limit); - } - } #ifndef __sparc__ sprintf (buf, "%d", dev->irq);