]> err.no Git - linux-2.6/commitdiff
amd74xx: Omit PCI_REVISION_ID read
authorAuke Kok <auke-jan.h.kok@intel.com>
Thu, 18 Oct 2007 22:30:07 +0000 (00:30 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Thu, 18 Oct 2007 22:30:07 +0000 (00:30 +0200)
Signed-off-by: Auke Kok <auke-jan.h.kok@intel.com>
Cc: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/pci/amd74xx.c

index 6f6fadf5a9d8517f31d72f069ee107f42a377f6c..dc2ab1153d3e2e3c62bc7492d68c93c63a3e6e2d 100644 (file)
@@ -233,7 +233,6 @@ static unsigned int __devinit init_chipset_amd74xx(struct pci_dev *dev, const ch
  * Print the boot message.
  */
 
-       pci_read_config_byte(dev, PCI_REVISION_ID, &t);
        printk(KERN_INFO "%s: %s (rev %02x) UDMA%s controller\n",
                amd_chipset->name, pci_name(dev), dev->revision,
                amd_dma[fls(amd_config->udma_mask) - 1]);