summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/dev/pccbb/pccbb.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/sys/dev/pccbb/pccbb.c b/sys/dev/pccbb/pccbb.c
index 4fd004a..9d690bb 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)
OpenPOWER on IntegriCloud