scsi-lowlevel: remove scsi_writeverify10_params

Signed-off-by: Arne Redlich <arne.redlich@googlemail.com>
This commit is contained in:
Arne Redlich
2012-11-18 21:52:34 +01:00
parent 8169c3e280
commit fff2527cda
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_writeverify10_params {
uint32_t lba;
uint32_t num_blocks;
};
struct scsi_writeverify12_params {
uint32_t lba;
uint32_t num_blocks;
@@ -269,7 +265,6 @@ struct scsi_task {
int expxferlen;
unsigned char cdb[SCSI_CDB_MAX_SIZE];
union {
struct scsi_writeverify10_params writeverify10;
struct scsi_writeverify12_params writeverify12;
struct scsi_writeverify16_params writeverify16;
struct scsi_verify10_params verify10;

View File

@@ -2132,9 +2132,6 @@ scsi_cdb_writeverify10(uint32_t lba, uint32_t xferlen, int blocksize, int wrprot
}
task->expxferlen = xferlen;
task->params.writeverify10.lba = lba;
task->params.writeverify10.num_blocks = xferlen/blocksize;
return task;
}