scsi-lowlevel: remove scsi_startstopunit_params
Signed-off-by: Arne Redlich <arne.redlich@googlemail.com>
This commit is contained in:
@@ -176,14 +176,6 @@ struct scsi_readtoc_list {
|
||||
struct scsi_readtoc_desc desc[0];
|
||||
};
|
||||
|
||||
struct scsi_startstopunit_params {
|
||||
int immed;
|
||||
int pcm;
|
||||
int pc;
|
||||
int no_flush;
|
||||
int loej;
|
||||
int start;
|
||||
};
|
||||
struct scsi_preventallow_params {
|
||||
int prevent;
|
||||
};
|
||||
@@ -288,7 +280,6 @@ struct scsi_task {
|
||||
int expxferlen;
|
||||
unsigned char cdb[SCSI_CDB_MAX_SIZE];
|
||||
union {
|
||||
struct scsi_startstopunit_params startstopunit;
|
||||
struct scsi_preventallow_params preventallow;
|
||||
struct scsi_orwrite_params orwrite;
|
||||
struct scsi_compareandwrite_params compareandwrite;
|
||||
|
||||
@@ -1869,13 +1869,6 @@ scsi_cdb_startstopunit(int immed, int pcm, int pc, int no_flush, int loej, int s
|
||||
task->xfer_dir = SCSI_XFER_NONE;
|
||||
task->expxferlen = 0;
|
||||
|
||||
task->params.startstopunit.immed = immed;
|
||||
task->params.startstopunit.pcm = pcm;
|
||||
task->params.startstopunit.pc = pc;
|
||||
task->params.startstopunit.no_flush = no_flush;
|
||||
task->params.startstopunit.loej = loej;
|
||||
task->params.startstopunit.start = start;
|
||||
|
||||
return task;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user