scsi-lowlevel: remove scsi_read6_params

Signed-off-by: Arne Redlich <arne.redlich@googlemail.com>
This commit is contained in:
Arne Redlich
2012-11-18 21:34:08 +01:00
parent 76aa2693c4
commit d95e811ccf
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_read6_params {
uint32_t lba;
uint32_t num_blocks;
};
struct scsi_read10_params {
uint32_t lba;
uint32_t num_blocks;
@@ -316,7 +312,6 @@ struct scsi_task {
int expxferlen;
unsigned char cdb[SCSI_CDB_MAX_SIZE];
union {
struct scsi_read6_params read6;
struct scsi_read10_params read10;
struct scsi_read12_params read12;
struct scsi_read16_params read16;

View File

@@ -1024,9 +1024,6 @@ scsi_cdb_read6(uint32_t lba, uint32_t xferlen, int blocksize)
}
task->expxferlen = xferlen;
task->params.read6.lba = lba;
task->params.read6.num_blocks = num_blocks;
return task;
}