Re: [PATCH] Yet more PCI fixes for 2.5.70

Greg KH
2003-06-10T20:45:43Z

ChangeSet 1.1334, 2003/06/09 15:39:26-07:00, greg@kroah.com

PCI: remove pci_present() from drivers/media/radio/radio-maestro.c

drivers/media/radio/radio-maestro.c | 2 --
1 files changed, 2 deletions(-)

diff -Nru a/drivers/media/radio/radio-maestro.c b/drivers/media/radio/radio-maestro.c
--- a/drivers/media/radio/radio-maestro.c Tue Jun 10 11:21:17 2003
+++ b/drivers/media/radio/radio-maestro.c Tue Jun 10 11:21:17 2003
@@ -285,8 +285,6 @@
{
register __u16 found=0;
struct pci_dev *pcidev = NULL;
- if(!pci_present())
- return -ENODEV;
while(!found && (pcidev = pci_find_device(PCI_VENDOR_ESS,
PCI_DEVICE_ID_ESS_ESS1968,
pcidev)))