diff options
| author | Warner Losh <imp@FreeBSD.org> | 2004-04-13 14:39:26 +0000 |
|---|---|---|
| committer | Warner Losh <imp@FreeBSD.org> | 2004-04-13 14:39:26 +0000 |
| commit | 57094462fc5d0887d10d1addca7eed97bd924f58 (patch) | |
| tree | 6f92d9b46a3207e40d01c7c865e91df1fc8f96d6 /sys/dev/pccbb | |
| parent | 68839124b6cbf144a9f358e0e2c1d26cb6ce684c (diff) | |
Notes
Diffstat (limited to 'sys/dev/pccbb')
| -rw-r--r-- | sys/dev/pccbb/pccbb.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/sys/dev/pccbb/pccbb.c b/sys/dev/pccbb/pccbb.c index 4fd004a02a1c..9d690bb80436 100644 --- a/sys/dev/pccbb/pccbb.c +++ b/sys/dev/pccbb/pccbb.c @@ -1782,13 +1782,6 @@ cbb_pcic_alloc_resource(device_t brdev, device_t child, int type, int *rid, if (align > (1 << RF_ALIGNMENT(flags))) flags = (flags & ~RF_ALIGNMENT_MASK) | rman_make_alignment_flags(align); - if (count < CBB_MEMALIGN) - align = CBB_MEMALIGN; - else - align = count; - if (align > (1 << RF_ALIGNMENT(flags))) - flags = (flags & ~RF_ALIGNMENT_MASK) | - rman_make_alignment_flags(align); break; case SYS_RES_IOPORT: if (start < cbb_start_16_io) |
