scsi-lowlevel: remove scsi_preventallow_params

Signed-off-by: Arne Redlich <arne.redlich@googlemail.com>
This commit is contained in:
Arne Redlich
2012-11-18 21:46:52 +01:00
parent a02cd53cfc
commit 8f513c23f5
2 changed files with 0 additions and 6 deletions

View File

@@ -176,9 +176,6 @@ struct scsi_readtoc_list {
struct scsi_readtoc_desc desc[0];
};
struct scsi_preventallow_params {
int prevent;
};
struct scsi_orwrite_params {
uint64_t lba;
uint32_t num_blocks;
@@ -280,7 +277,6 @@ struct scsi_task {
int expxferlen;
unsigned char cdb[SCSI_CDB_MAX_SIZE];
union {
struct scsi_preventallow_params preventallow;
struct scsi_orwrite_params orwrite;
struct scsi_compareandwrite_params compareandwrite;
struct scsi_writeverify10_params writeverify10;

View File

@@ -1894,8 +1894,6 @@ scsi_cdb_preventallow(int prevent)
task->xfer_dir = SCSI_XFER_NONE;
task->expxferlen = 0;
task->params.preventallow.prevent = prevent;
return task;
}