diff options
| author | Christoph Hellwig <[email protected]> | 2023-06-08 13:02:32 +0200 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2023-06-12 08:04:03 -0600 |
| commit | a4cec8bc14c02e15006a71f02b0e1bbc72b9f796 (patch) | |
| tree | 5a78f90e2ab159fe5d0293b0f629f21d7ea72e14 /include/linux | |
| parent | 473399b50de1fdc12606254351273c71d1786251 (diff) | |
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 <[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 | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/cdrom.h b/include/linux/cdrom.h index 4aea8c82d169..0a5db0b0c958 100644 --- a/include/linux/cdrom.h +++ b/include/linux/cdrom.h @@ -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; |