scsi-lowlevel: remove scsi_compareandwrite_params

Signed-off-by: Arne Redlich <arne.redlich@googlemail.com>
This commit is contained in:
Arne Redlich
2012-11-18 21:51:10 +01:00
parent 9f7f7f1e0d
commit 8169c3e280
2 changed files with 0 additions and 8 deletions

View File

@@ -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;

View File

@@ -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;
}