summaryrefslogtreecommitdiff
path: root/sys/arch/i386/include
diff options
context:
space:
mode:
authorMartin Reindl <martin@cvs.openbsd.org>2006-03-19 01:47:25 +0000
committerMartin Reindl <martin@cvs.openbsd.org>2006-03-19 01:47:25 +0000
commitfeb83da3be75782fa3d13d4304ba92c04a1a3afb (patch)
tree3c87e9af3309e8bedb9956883d5769c97a26a527 /sys/arch/i386/include
parent41bb1def944329f27ef1f0889f1d7259a6c361f9 (diff)
remove unused bdbtofsb(bn) macro
found by drahn@
Diffstat (limited to 'sys/arch/i386/include')
-rw-r--r--sys/arch/i386/include/param.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/sys/arch/i386/include/param.h b/sys/arch/i386/include/param.h
index bd3234ad7eb..439a9859587 100644
--- a/sys/arch/i386/include/param.h
+++ b/sys/arch/i386/include/param.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: param.h,v 1.34 2006/03/14 09:02:29 mickey Exp $ */
+/* $OpenBSD: param.h,v 1.35 2006/03/19 01:47:23 martin Exp $ */
/* $NetBSD: param.h,v 1.29 1996/03/04 05:04:26 cgd Exp $ */
/*-
@@ -133,14 +133,6 @@
#define btodb(x) ((x) >> DEV_BSHIFT)
/*
- * Map a ``block device block'' to a file system block.
- * This should be device dependent, and should use the bsize
- * field from the disk label.
- * For now though just use DEV_BSIZE.
- */
-#define bdbtofsb(bn) ((bn) / (BLKDEV_IOSIZE / DEV_BSIZE))
-
-/*
* Mach derived conversion macros
*/
#define i386_round_pdr(x) ((((unsigned)(x)) + PDOFSET) & ~PDOFSET)