scsi-lowlevel: remove scsi_reportluns_params
Signed-off-by: Arne Redlich <arne.redlich@googlemail.com>
This commit is contained in:
@@ -176,9 +176,6 @@ struct scsi_readtoc_list {
|
|||||||
struct scsi_readtoc_desc desc[0];
|
struct scsi_readtoc_desc desc[0];
|
||||||
};
|
};
|
||||||
|
|
||||||
struct scsi_reportluns_params {
|
|
||||||
int report_type;
|
|
||||||
};
|
|
||||||
struct scsi_read6_params {
|
struct scsi_read6_params {
|
||||||
uint32_t lba;
|
uint32_t lba;
|
||||||
uint32_t num_blocks;
|
uint32_t num_blocks;
|
||||||
@@ -337,7 +334,6 @@ struct scsi_task {
|
|||||||
struct scsi_verify12_params verify12;
|
struct scsi_verify12_params verify12;
|
||||||
struct scsi_verify16_params verify16;
|
struct scsi_verify16_params verify16;
|
||||||
struct scsi_readcapacity10_params readcapacity10;
|
struct scsi_readcapacity10_params readcapacity10;
|
||||||
struct scsi_reportluns_params reportluns;
|
|
||||||
struct scsi_inquiry_params inquiry;
|
struct scsi_inquiry_params inquiry;
|
||||||
struct scsi_modesense6_params modesense6;
|
struct scsi_modesense6_params modesense6;
|
||||||
struct scsi_serviceactionin_params serviceactionin;
|
struct scsi_serviceactionin_params serviceactionin;
|
||||||
|
|||||||
@@ -210,8 +210,6 @@ scsi_reportluns_cdb(int report_type, int alloc_len)
|
|||||||
}
|
}
|
||||||
task->expxferlen = alloc_len;
|
task->expxferlen = alloc_len;
|
||||||
|
|
||||||
task->params.reportluns.report_type = report_type;
|
|
||||||
|
|
||||||
return task;
|
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];
|
return &sdb->data[pos];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user