summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1996-08-08 16:52:26 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1996-08-08 16:52:26 +0000
commit704c4ea3773b5ac0fa883cdd52a2f8de421cd915 (patch)
treebf77382ffec4e95a6c3850a88c3783d2b7a79626 /sys
parentdc0bc9a866358d277d757fa5b590a8d68f6556a7 (diff)
Shave some bytes never used
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/atapi/acd.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/sys/dev/atapi/acd.c b/sys/dev/atapi/acd.c
index acebbed28f0..aed0b8a59b7 100644
--- a/sys/dev/atapi/acd.c
+++ b/sys/dev/atapi/acd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: acd.c,v 1.8 1996/08/07 01:56:27 downsj Exp $ */
+/* $OpenBSD: acd.c,v 1.9 1996/08/08 16:52:25 niklas Exp $ */
/*
* Copyright (c) 1996 Manuel Bouyer. All rights reserved.
@@ -139,7 +139,10 @@ int acd_play_msf __P((struct acd_softc *, int, int, int, int, int, int));
int acd_read_subchannel __P((struct acd_softc *, int, int, int,
struct cd_sub_channel_info *, int));
int acd_read_toc __P((struct acd_softc *, int, int, void *, int));
+#if 0
+/* Not used anywhere, left here in case that changes. */
static void lba2msf __P((u_int32_t, u_int8_t *, u_int8_t *, u_int8_t *));
+#endif
static __inline u_int32_t msf2lba __P((u_int8_t, u_int8_t, u_int8_t));
static __inline void bswap __P((u_int8_t *, int));
@@ -645,6 +648,9 @@ acdwrite(dev, uio)
return (physio(acdstrategy, NULL, dev, B_WRITE, acdminphys, uio));
}
+#if 0
+/* Not used anywhere, left here in case that changes. */
+
/*
* conversion between minute-seconde-frame and logical block adress
* adresses format
@@ -662,6 +668,7 @@ lba2msf (lba, m, s, f)
*s = tmp / CD_FRAMES;
*f = tmp % CD_FRAMES;
}
+#endif
static __inline u_int32_t
msf2lba (m, s, f)