summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorsam <sam@FreeBSD.org>2003-10-20 17:56:10 +0000
committersam <sam@FreeBSD.org>2003-10-20 17:56:10 +0000
commit3d2d2c4fd8c46cc963348070f842de9820f64ee1 (patch)
tree81a099082bcf4b9eb097fec1e6712815f331f214 /sys
parent01f1aaf2956e477716ac11b9e0ddf80d286ef67a (diff)
downloadFreeBSD-src-3d2d2c4fd8c46cc963348070f842de9820f64ee1.zip
FreeBSD-src-3d2d2c4fd8c46cc963348070f842de9820f64ee1.tar.gz
fix build: linux_to_bsd_msf_lba is no longer used because of previous commit
Diffstat (limited to 'sys')
-rw-r--r--sys/compat/linux/linux_ioctl.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/sys/compat/linux/linux_ioctl.c b/sys/compat/linux/linux_ioctl.c
index 87626d1..3bb0a6d 100644
--- a/sys/compat/linux/linux_ioctl.c
+++ b/sys/compat/linux/linux_ioctl.c
@@ -1092,18 +1092,6 @@ bsd_to_linux_msf_lba(u_char af, union msf_lba *bp, union linux_cdrom_addr *lp)
}
static void
-linux_to_bsd_msf_lba(u_char af, union linux_cdrom_addr *lp, union msf_lba *bp)
-{
- if (af == CD_LBA_FORMAT)
- bp->lba = lp->lba;
- else {
- bp->msf.minute = lp->msf.minute;
- bp->msf.second = lp->msf.second;
- bp->msf.frame = lp->msf.frame;
- }
-}
-
-static void
set_linux_cdrom_addr(union linux_cdrom_addr *addr, int format, int lba)
{
if (format == LINUX_CDROM_MSF) {
OpenPOWER on IntegriCloud