From daed6117c84d555f4cdf9dc6fa4e65c5d5b4948d Mon Sep 17 00:00:00 2001 From: Arne Redlich Date: Sun, 18 Nov 2012 21:38:35 +0100 Subject: [PATCH] scsi-lowlevel: remove scsi_read16_params Signed-off-by: Arne Redlich --- include/scsi-lowlevel.h | 5 ----- lib/scsi-lowlevel.c | 3 --- 2 files changed, 8 deletions(-) diff --git a/include/scsi-lowlevel.h b/include/scsi-lowlevel.h index 72763b3..3b7b4e2 100644 --- a/include/scsi-lowlevel.h +++ b/include/scsi-lowlevel.h @@ -176,10 +176,6 @@ struct scsi_readtoc_list { struct scsi_readtoc_desc desc[0]; }; -struct scsi_read16_params { - uint64_t lba; - uint32_t num_blocks; -}; struct scsi_write10_params { uint32_t lba; uint32_t num_blocks; @@ -304,7 +300,6 @@ struct scsi_task { int expxferlen; unsigned char cdb[SCSI_CDB_MAX_SIZE]; union { - struct scsi_read16_params read16; struct scsi_write10_params write10; struct scsi_write12_params write12; struct scsi_write16_params write16; diff --git a/lib/scsi-lowlevel.c b/lib/scsi-lowlevel.c index 283b2af..44fae9f 100644 --- a/lib/scsi-lowlevel.c +++ b/lib/scsi-lowlevel.c @@ -1154,9 +1154,6 @@ scsi_cdb_read16(uint64_t lba, uint32_t xferlen, int blocksize, int rdprotect, in } task->expxferlen = xferlen; - task->params.read16.lba = lba; - task->params.read16.num_blocks = xferlen/blocksize; - return task; }