diff options
author | Martin Reindl <martin@cvs.openbsd.org> | 2005-05-26 23:53:15 +0000 |
---|---|---|
committer | Martin Reindl <martin@cvs.openbsd.org> | 2005-05-26 23:53:15 +0000 |
commit | d97ca6e6f01fbaae7f53dd04a15216be38dec099 (patch) | |
tree | 7b6b04c197ad3d775d256ea1a156b703125e492c /sys | |
parent | dd64e6903a8da99e6f214268f1d02de0aaaad1c4 (diff) |
remove unused vtophys stuff
ok jason@
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/ic/aac.c | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/sys/dev/ic/aac.c b/sys/dev/ic/aac.c index 1678458cbcc..d5f83b5b54c 100644 --- a/sys/dev/ic/aac.c +++ b/sys/dev/ic/aac.c @@ -1,4 +1,4 @@ -/* $OpenBSD: aac.c,v 1.19 2004/03/20 03:58:09 aaron Exp $ */ +/* $OpenBSD: aac.c,v 1.20 2005/05/26 23:53:14 martin Exp $ */ /*- * Copyright (c) 2000 Michael Smith @@ -1223,19 +1223,6 @@ aacminphys(bp) AAC_DPRINTF(AAC_D_MISC, ("aacminphys(0x%x) ", bp)); -#if 1 -#if 0 /* As this is way more than MAXPHYS it's really not necessary. */ - if (bp->b_bcount > ((AAC_MAXOFFSETS - 1) * PAGE_SIZE)) - bp->b_bcount = ((AAC_MAXOFFSETS - 1) * PAGE_SIZE); -#endif -#else - for (off = PAGE_SIZE, pa = vtophys(buf); off < bp->b_bcount; - off += PAGE_SIZE) - if (pa + off != vtophys(buf + off)) { - bp->b_bcount = off; - break; - } -#endif minphys(bp); } |