aboutsummaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2023-06-08 13:02:30 +0200
committerJens Axboe <[email protected]>2023-06-12 08:04:03 -0600
commit764b83100b9aff52f950e408539c22a37cdedae8 (patch)
tree332863ee4b8d483be141ba60fae855276eb5306f /include/linux
parent9d1c92872e7082f100f629a58b32fa0214aa1aec (diff)
cdrom: remove the unused bdev argument to cdrom_open
Signed-off-by: Christoph Hellwig <[email protected]> Reviewed-by: Phillip Potter <[email protected]> Reviewed-by: Hannes Reinecke <[email protected]> Acked-by: Christian Brauner <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/cdrom.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/cdrom.h b/include/linux/cdrom.h
index 67caa909e3e6..cc5717cb0fa8 100644
--- a/include/linux/cdrom.h
+++ b/include/linux/cdrom.h
@@ -101,8 +101,7 @@ int cdrom_read_tocentry(struct cdrom_device_info *cdi,
struct cdrom_tocentry *entry);
/* the general block_device operations structure: */
-extern int cdrom_open(struct cdrom_device_info *cdi, struct block_device *bdev,
- fmode_t mode);
+int cdrom_open(struct cdrom_device_info *cdi, fmode_t mode);
extern void cdrom_release(struct cdrom_device_info *cdi, fmode_t mode);
extern int cdrom_ioctl(struct cdrom_device_info *cdi, struct block_device *bdev,
fmode_t mode, unsigned int cmd, unsigned long arg);