aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/cdrom
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/cdrom')
-rw-r--r--drivers/cdrom/cdrom.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/cdrom/cdrom.c b/drivers/cdrom/cdrom.c
index af0561053167..47e5b40510cb 100644
--- a/drivers/cdrom/cdrom.c
+++ b/drivers/cdrom/cdrom.c
@@ -2787,12 +2787,6 @@ int cdrom_ioctl(struct file * file, struct cdrom_device_info *cdi,
2787 return -ENOSYS; 2787 return -ENOSYS;
2788} 2788}
2789 2789
2790static inline
2791int msf_to_lba(char m, char s, char f)
2792{
2793 return (((m * CD_SECS) + s) * CD_FRAMES + f) - CD_MSF_OFFSET;
2794}
2795
2796/* 2790/*
2797 * Required when we need to use READ_10 to issue other than 2048 block 2791 * Required when we need to use READ_10 to issue other than 2048 block
2798 * reads 2792 * reads