diff --git a/include/scsi-lowlevel.h b/include/scsi-lowlevel.h index bdf590b..d25f905 100644 --- a/include/scsi-lowlevel.h +++ b/include/scsi-lowlevel.h @@ -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; diff --git a/lib/scsi-lowlevel.c b/lib/scsi-lowlevel.c index dbb1d24..2f70aa9 100644 --- a/lib/scsi-lowlevel.c +++ b/lib/scsi-lowlevel.c @@ -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; }