summaryrefslogtreecommitdiffstats
path: root/sys/dev/if_ndis/if_ndis_pci.c
diff options
context:
space:
mode:
authorthompsa <thompsa@FreeBSD.org>2007-12-03 21:51:28 +0000
committerthompsa <thompsa@FreeBSD.org>2007-12-03 21:51:28 +0000
commit6e7c2e0556392a21adae4fa1c46d9e9505dfaf0a (patch)
tree9c88b67fa3563090608dfa3fa3dd3136c79f3c55 /sys/dev/if_ndis/if_ndis_pci.c
parent6d8cbbd3e81479009deff9e2b5aff6c731225a92 (diff)
downloadFreeBSD-src-6e7c2e0556392a21adae4fa1c46d9e9505dfaf0a.zip
FreeBSD-src-6e7c2e0556392a21adae4fa1c46d9e9505dfaf0a.tar.gz
Remove compatibilty defines to simplify reading the code, this is around 10% of
the total LOC. These are mostly for the 6.x branch and it will be easier to cherrypick any changes (if at all).
Diffstat (limited to 'sys/dev/if_ndis/if_ndis_pci.c')
-rw-r--r--sys/dev/if_ndis/if_ndis_pci.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/dev/if_ndis/if_ndis_pci.c b/sys/dev/if_ndis/if_ndis_pci.c
index e54cb61..57ec77d 100644
--- a/sys/dev/if_ndis/if_ndis_pci.c
+++ b/sys/dev/if_ndis/if_ndis_pci.c
@@ -187,11 +187,7 @@ ndis_attach_pci(dev)
rl = BUS_GET_RESOURCE_LIST(device_get_parent(dev), dev);
if (rl != NULL) {
-#if __FreeBSD_version < 600022
- SLIST_FOREACH(rle, rl, link) {
-#else
STAILQ_FOREACH(rle, rl, link) {
-#endif
switch (rle->type) {
case SYS_RES_IOPORT:
sc->ndis_io_rid = rle->rid;
OpenPOWER on IntegriCloud