From: David Schleef Date: Sun, 10 Feb 2002 04:56:45 +0000 (+0000) Subject: Remove 2.0 PCI code X-Git-Tag: r0_7_64~128 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ebc4757331491a69759aca482db46eb3254b2708;p=comedi.git Remove 2.0 PCI code --- diff --git a/comedi/drivers/ni_670x.c b/comedi/drivers/ni_670x.c index b16bdc92..67980dd3 100644 --- a/comedi/drivers/ni_670x.c +++ b/comedi/drivers/ni_670x.c @@ -295,14 +295,8 @@ static int ni_670x_find_device(comedi_device *dev,int bus,int slot) if(mite->used)continue; if(bus || slot) { - -#if LINUX_VERSION_CODE < 0x020155 - if(bus!=mite->pci_bus || slot!=PCI_SLOT(mite->pci_device_fn)) - continue; -#else if(bus!=mite->pcidev->bus->number || slot!=PCI_SLOT(mite->pcidev->devfn)) continue; -#endif } for(i=0;i