summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/aic7xxx/aic7xxx_osm_pci.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2005-05-16 18:52:06 +0200
committerJames Bottomley <jejb@mulgrave.(none)>2005-05-20 22:54:36 +0200
commitdedd831081052028f35aaf924ea3d6c55109074f (patch)
tree518497bc7e5aa491bc932d50149ce96cae0b26c3 /drivers/scsi/aic7xxx/aic7xxx_osm_pci.c
parent[SCSI] aic7xxx: remove some DV leftovers (diff)
downloadlinux-dedd831081052028f35aaf924ea3d6c55109074f.tar.xz
linux-dedd831081052028f35aaf924ea3d6c55109074f.zip
[SCSI] aic7xxx: remove Linux 2.4 ifdefs
There's not much sense in sharing code anymore now that aic7xxx uses various transport class facilities. Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/aic7xxx/aic7xxx_osm_pci.c')
-rw-r--r--drivers/scsi/aic7xxx/aic7xxx_osm_pci.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/drivers/scsi/aic7xxx/aic7xxx_osm_pci.c b/drivers/scsi/aic7xxx/aic7xxx_osm_pci.c
index 6f6674aa31ef..886f92f91846 100644
--- a/drivers/scsi/aic7xxx/aic7xxx_osm_pci.c
+++ b/drivers/scsi/aic7xxx/aic7xxx_osm_pci.c
@@ -236,15 +236,8 @@ ahc_linux_pci_dev_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
return (-error);
}
pci_set_drvdata(pdev, ahc);
- if (aic7xxx_detect_complete) {
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,0)
+ if (aic7xxx_detect_complete)
ahc_linux_register_host(ahc, &aic7xxx_driver_template);
-#else
- printf("aic7xxx: ignoring PCI device found after "
- "initialization\n");
- return (-ENODEV);
-#endif
- }
return (0);
}