scsi-lowlevel: remove scsi_reportluns_params

Signed-off-by: Arne Redlich <arne.redlich@googlemail.com>
This commit is contained in:
Arne Redlich
2012-11-18 21:31:11 +01:00
parent 44cb5d60c5
commit 76aa2693c4
2 changed files with 31 additions and 38 deletions

View File

@@ -176,9 +176,6 @@ struct scsi_readtoc_list {
struct scsi_readtoc_desc desc[0];
};
struct scsi_reportluns_params {
int report_type;
};
struct scsi_read6_params {
uint32_t lba;
uint32_t num_blocks;
@@ -337,7 +334,6 @@ struct scsi_task {
struct scsi_verify12_params verify12;
struct scsi_verify16_params verify16;
struct scsi_readcapacity10_params readcapacity10;
struct scsi_reportluns_params reportluns;
struct scsi_inquiry_params inquiry;
struct scsi_modesense6_params modesense6;
struct scsi_serviceactionin_params serviceactionin;

View File

@@ -210,8 +210,6 @@ scsi_reportluns_cdb(int report_type, int alloc_len)
}
task->expxferlen = alloc_len;
task->params.reportluns.report_type = report_type;
return task;
}
@@ -2555,4 +2553,3 @@ scsi_task_get_data_in_buffer(struct scsi_task *task, uint32_t pos, ssize_t *coun
return &sdb->data[pos];
}