scsi-lowlevel: remove scsi_compareandwrite_params
Signed-off-by: Arne Redlich <arne.redlich@googlemail.com>
This commit is contained in:
@@ -176,10 +176,6 @@ struct scsi_readtoc_list {
|
||||
struct scsi_readtoc_desc desc[0];
|
||||
};
|
||||
|
||||
struct scsi_compareandwrite_params {
|
||||
uint64_t lba;
|
||||
uint32_t num_blocks;
|
||||
};
|
||||
struct scsi_writeverify10_params {
|
||||
uint32_t lba;
|
||||
uint32_t num_blocks;
|
||||
@@ -273,7 +269,6 @@ struct scsi_task {
|
||||
int expxferlen;
|
||||
unsigned char cdb[SCSI_CDB_MAX_SIZE];
|
||||
union {
|
||||
struct scsi_compareandwrite_params compareandwrite;
|
||||
struct scsi_writeverify10_params writeverify10;
|
||||
struct scsi_writeverify12_params writeverify12;
|
||||
struct scsi_writeverify16_params writeverify16;
|
||||
|
||||
@@ -1371,9 +1371,6 @@ scsi_cdb_compareandwrite(uint64_t lba, uint32_t xferlen, int blocksize, int wrpr
|
||||
}
|
||||
task->expxferlen = xferlen;
|
||||
|
||||
task->params.compareandwrite.lba = lba;
|
||||
task->params.compareandwrite.num_blocks = xferlen/blocksize;
|
||||
|
||||
return task;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user