From 188505a72d53952385f80a888585f84bb9008abe Mon Sep 17 00:00:00 2001 From: Arne Redlich Date: Sun, 18 Nov 2012 21:59:42 +0100 Subject: [PATCH] scsi-lowlevel: remove scsi_verify16_params Signed-off-by: Arne Redlich --- include/scsi-lowlevel.h | 8 -------- lib/scsi-lowlevel.c | 6 ------ 2 files changed, 14 deletions(-) diff --git a/include/scsi-lowlevel.h b/include/scsi-lowlevel.h index ddb82b8..eb21049 100644 --- a/include/scsi-lowlevel.h +++ b/include/scsi-lowlevel.h @@ -176,13 +176,6 @@ struct scsi_readtoc_list { struct scsi_readtoc_desc desc[0]; }; -struct scsi_verify16_params { - uint64_t lba; - uint32_t num_blocks; - int vprotect; - int dpo; - int bytchk; -}; struct scsi_readcapacity10_params { int lba; int pmi; @@ -243,7 +236,6 @@ struct scsi_task { int expxferlen; unsigned char cdb[SCSI_CDB_MAX_SIZE]; union { - struct scsi_verify16_params verify16; struct scsi_readcapacity10_params readcapacity10; struct scsi_inquiry_params inquiry; struct scsi_modesense6_params modesense6; diff --git a/lib/scsi-lowlevel.c b/lib/scsi-lowlevel.c index 7021173..203b3c0 100644 --- a/lib/scsi-lowlevel.c +++ b/lib/scsi-lowlevel.c @@ -1492,12 +1492,6 @@ scsi_cdb_verify16(uint64_t lba, uint32_t xferlen, int vprotect, int dpo, int byt } task->expxferlen = xferlen; - task->params.verify16.lba = lba; - task->params.verify16.num_blocks = xferlen/blocksize; - task->params.verify16.vprotect = vprotect; - task->params.verify16.dpo = dpo; - task->params.verify16.bytchk = bytchk; - return task; }