This structure is not used, so delete it. It was originally intended for supporting checking for atomic writes overlapping with ongoing reads and writes, but that support never got added. sbc-4 r22 section 4.29.3.2 "Performing operations during an atomic write operation" describes two methods of handling overlapping atomic writes. Currently the only method supported is for the ongoing read or write to complete. Signed-off-by: John Garry <john.g.garry@xxxxxxxxxx> --- drivers/scsi/scsi_debug.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/drivers/scsi/scsi_debug.c b/drivers/scsi/scsi_debug.c index 2f60ab9a93bd..e3ebb6710d41 100644 --- a/drivers/scsi/scsi_debug.c +++ b/drivers/scsi/scsi_debug.c @@ -460,12 +460,6 @@ struct sdebug_defer { enum sdeb_defer_type defer_t; }; -struct sdebug_device_access_info { - bool atomic_write; - u64 lba; - u32 num; - struct scsi_cmnd *self; -}; struct sdebug_queued_cmd { /* corresponding bit set in in_use_bm[] in owning struct sdebug_queue @@ -473,7 +467,6 @@ struct sdebug_queued_cmd { */ struct sdebug_defer sd_dp; struct scsi_cmnd *scmd; - struct sdebug_device_access_info *i; }; struct sdebug_scsi_cmd { -- 2.31.1