mirror of
https://github.com/lkl/linux.git
synced 2025-12-19 16:13:19 +09:00
cdrom: remove the unused cdrom_close_write release code
cdrom_close_write is empty, and the for_data flag it is keyed off is never set. Remove all this clutter. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Phillip Potter <phil@philpotter.co.uk> Reviewed-by: Hannes Reinecke <hare@suse.de> Acked-by: Christian Brauner <brauner@kernel.org> Link: https://lore.kernel.org/r/20230608110258.189493-5-hch@lst.de Signed-off-by: Jens Axboe <axboe@kernel.dk>
This commit is contained in:
committed by
Jens Axboe
parent
473399b50d
commit
a4cec8bc14
@@ -61,7 +61,6 @@ struct cdrom_device_info {
|
||||
__u8 last_sense;
|
||||
__u8 media_written; /* dirty flag, DVD+RW bookkeeping */
|
||||
unsigned short mmc3_profile; /* current MMC3 profile */
|
||||
int for_data;
|
||||
int (*exit)(struct cdrom_device_info *);
|
||||
int mrw_mode_page;
|
||||
__s64 last_media_change_ms;
|
||||
|
||||
Reference in New Issue
Block a user