summaryrefslogtreecommitdiffstats
path: root/sys/arm
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2002-05-14 20:01:34 +0000
committerphk <phk@FreeBSD.org>2002-05-14 20:01:34 +0000
commitd81ed87e724894f954e061e163eb6ec9074faa4c (patch)
tree026858cf133ff6c341beec98c8d0a3f99f2d8ea3 /sys/arm
parent8082500a64c17f654e51653892ea3c77d572d460 (diff)
downloadFreeBSD-src-d81ed87e724894f954e061e163eb6ec9074faa4c.zip
FreeBSD-src-d81ed87e724894f954e061e163eb6ec9074faa4c.tar.gz
Remove the unused definitions of ctod() and dotc().
Diffstat (limited to 'sys/arm')
-rw-r--r--sys/arm/include/param.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/arm/include/param.h b/sys/arm/include/param.h
index 7dda79d..5a743cc 100644
--- a/sys/arm/include/param.h
+++ b/sys/arm/include/param.h
@@ -136,10 +136,6 @@
/* bytes to clicks */
#define btoc(x) (((unsigned)(x) + PAGE_MASK) >> PAGE_SHIFT)
-/* pages ("clicks") to disk blocks */
-#define ctod(x) ((x) << (PAGE_SHIFT - DEV_BSHIFT))
-#define dtoc(x) ((x) >> (PAGE_SHIFT - DEV_BSHIFT))
-
/* bytes to disk blocks */
/*
* btodb() is messy and perhaps slow because `bytes' may be an off_t. We
OpenPOWER on IntegriCloud