scsi-lowlevel: remove scsi_verify12_params
Signed-off-by: Arne Redlich <arne.redlich@googlemail.com>
This commit is contained in:
@@ -176,13 +176,6 @@ struct scsi_readtoc_list {
|
||||
struct scsi_readtoc_desc desc[0];
|
||||
};
|
||||
|
||||
struct scsi_verify12_params {
|
||||
uint32_t lba;
|
||||
uint32_t num_blocks;
|
||||
int vprotect;
|
||||
int dpo;
|
||||
int bytchk;
|
||||
};
|
||||
struct scsi_verify16_params {
|
||||
uint64_t lba;
|
||||
uint32_t num_blocks;
|
||||
@@ -250,7 +243,6 @@ struct scsi_task {
|
||||
int expxferlen;
|
||||
unsigned char cdb[SCSI_CDB_MAX_SIZE];
|
||||
union {
|
||||
struct scsi_verify12_params verify12;
|
||||
struct scsi_verify16_params verify16;
|
||||
struct scsi_readcapacity10_params readcapacity10;
|
||||
struct scsi_inquiry_params inquiry;
|
||||
|
||||
@@ -1451,12 +1451,6 @@ scsi_cdb_verify12(uint32_t lba, uint32_t xferlen, int vprotect, int dpo, int byt
|
||||
}
|
||||
task->expxferlen = xferlen;
|
||||
|
||||
task->params.verify12.lba = lba;
|
||||
task->params.verify12.num_blocks = xferlen/blocksize;
|
||||
task->params.verify12.vprotect = vprotect;
|
||||
task->params.verify12.dpo = dpo;
|
||||
task->params.verify12.bytchk = bytchk;
|
||||
|
||||
return task;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user