diff options
author | imp <imp@FreeBSD.org> | 2004-04-13 14:39:26 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2004-04-13 14:39:26 +0000 |
commit | d14cbe0db805b29e85993e621fdb9a7920324007 (patch) | |
tree | 6f92d9b46a3207e40d01c7c865e91df1fc8f96d6 /sys | |
parent | 7a125692f31c68a211628925b2f5e86d662e3747 (diff) | |
download | FreeBSD-src-d14cbe0db805b29e85993e621fdb9a7920324007.zip FreeBSD-src-d14cbe0db805b29e85993e621fdb9a7920324007.tar.gz |
Remove extra copy of code.
Noticed by: Carlos Velasco
Diffstat (limited to 'sys')
-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 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) |