scsi-lowlevel: remove scsi_write16_params

Signed-off-by: Arne Redlich <arne.redlich@googlemail.com>
This commit is contained in:
Arne Redlich
2012-11-18 21:43:15 +01:00
parent f95d86f762
commit 3ec1a2147f
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_write16_params {
uint64_t lba;
uint32_t num_blocks;
};
struct scsi_startstopunit_params {
int immed;
int pcm;
@@ -292,7 +288,6 @@ struct scsi_task {
int expxferlen;
unsigned char cdb[SCSI_CDB_MAX_SIZE];
union {
struct scsi_write16_params write16;
struct scsi_startstopunit_params startstopunit;
struct scsi_preventallow_params preventallow;
struct scsi_orwrite_params orwrite;

View File

@@ -1284,9 +1284,6 @@ scsi_cdb_write16(uint64_t lba, uint32_t xferlen, int blocksize, int wrprotect, i
}
task->expxferlen = xferlen;
task->params.write16.lba = lba;
task->params.write16.num_blocks = xferlen/blocksize;
return task;
}