diff options
author | phk <phk@FreeBSD.org> | 2002-05-14 20:01:34 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2002-05-14 20:01:34 +0000 |
commit | d81ed87e724894f954e061e163eb6ec9074faa4c (patch) | |
tree | 026858cf133ff6c341beec98c8d0a3f99f2d8ea3 | |
parent | 8082500a64c17f654e51653892ea3c77d572d460 (diff) | |
download | FreeBSD-src-d81ed87e724894f954e061e163eb6ec9074faa4c.zip FreeBSD-src-d81ed87e724894f954e061e163eb6ec9074faa4c.tar.gz |
Remove the unused definitions of ctod() and dotc().
-rw-r--r-- | sys/alpha/include/param.h | 4 | ||||
-rw-r--r-- | sys/arm/include/param.h | 4 | ||||
-rw-r--r-- | sys/ia64/include/param.h | 4 | ||||
-rw-r--r-- | sys/powerpc/include/param.h | 4 |
4 files changed, 0 insertions, 16 deletions
diff --git a/sys/alpha/include/param.h b/sys/alpha/include/param.h index 04828fa..f32b749 100644 --- a/sys/alpha/include/param.h +++ b/sys/alpha/include/param.h @@ -151,10 +151,6 @@ #endif /* MCLSHIFT */ #define MCLBYTES (1 << MCLSHIFT) /* size of a mbuf cluster */ -/* pages ("clicks") to disk blocks */ -#define ctod(x) ((x) << (PAGE_SHIFT - DEV_BSHIFT)) -#define dtoc(x) ((x) >> (PAGE_SHIFT - DEV_BSHIFT)) - /* pages to bytes */ #define ctob(x) ((x) << PAGE_SHIFT) #define btoc(x) (((x) + PAGE_MASK) >> PAGE_SHIFT) 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 diff --git a/sys/ia64/include/param.h b/sys/ia64/include/param.h index a516325..dff273e 100644 --- a/sys/ia64/include/param.h +++ b/sys/ia64/include/param.h @@ -177,10 +177,6 @@ #define NKMEMCLUSTERS (4096*1024/CLBYTES) /* XXX? */ #endif -/* pages ("clicks") to disk blocks */ -#define ctod(x) ((x) << (PAGE_SHIFT - DEV_BSHIFT)) -#define dtoc(x) ((x) >> (PAGE_SHIFT - DEV_BSHIFT)) - /* pages to bytes */ #define ctob(x) ((x) << PAGE_SHIFT) #define btoc(x) (((x) + PAGE_MASK) >> PAGE_SHIFT) diff --git a/sys/powerpc/include/param.h b/sys/powerpc/include/param.h index 25a9205..81bc3db 100644 --- a/sys/powerpc/include/param.h +++ b/sys/powerpc/include/param.h @@ -144,10 +144,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 |