diff options
author | Christoph Hellwig <[email protected]> | 2023-06-08 13:02:34 +0200 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2023-06-12 08:04:03 -0600 |
commit | 7ae24fcee9929f9002b84d8121144b2b3590b58c (patch) | |
tree | 2e426ba0ca180c894363e63a2f73c6de35997eec /include/linux | |
parent | 8cdf433e2b8e4fc6c7b4393deb93fb258175d537 (diff) |
cdrom: remove the unused mode argument to cdrom_release
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.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/cdrom.h b/include/linux/cdrom.h index adcc9f2beb26..3c253b29f4aa 100644 --- a/include/linux/cdrom.h +++ b/include/linux/cdrom.h @@ -102,7 +102,7 @@ int cdrom_read_tocentry(struct cdrom_device_info *cdi, /* the general block_device operations structure: */ int cdrom_open(struct cdrom_device_info *cdi, fmode_t mode); -extern void cdrom_release(struct cdrom_device_info *cdi, fmode_t mode); +void cdrom_release(struct cdrom_device_info *cdi); int cdrom_ioctl(struct cdrom_device_info *cdi, struct block_device *bdev, unsigned int cmd, unsigned long arg); extern unsigned int cdrom_check_events(struct cdrom_device_info *cdi, |