diff options
author | Christoph Hellwig <hch@infradead.org> | 2011-10-12 11:09:11 -0400 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2011-10-23 23:21:11 -0400 |
commit | 6193f06e6fe27c9475e407cb3cf2b0d4cd2725b0 (patch) | |
tree | a876548f54088886ca0bbc084bb5c560175b5094 /drivers/target/target_core_rd.h | |
parent | 3189b067eeae4646f3c7fa0ed0d14659a682baa8 (diff) |
target: make the ->get_cdb method optional
The most commonly used file, iblock and rd backends have no use for
a per-task CDB and thus don't need a method to copy it into their
otherwise unused CDB fields.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/target/target_core_rd.h')
-rw-r--r-- | drivers/target/target_core_rd.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/target/target_core_rd.h b/drivers/target/target_core_rd.h index 0d027732cd00..784e56a04100 100644 --- a/drivers/target/target_core_rd.h +++ b/drivers/target/target_core_rd.h | |||
@@ -22,8 +22,6 @@ void rd_module_exit(void); | |||
22 | struct rd_request { | 22 | struct rd_request { |
23 | struct se_task rd_task; | 23 | struct se_task rd_task; |
24 | 24 | ||
25 | /* SCSI CDB from iSCSI Command PDU */ | ||
26 | unsigned char rd_scsi_cdb[TCM_MAX_COMMAND_SIZE]; | ||
27 | /* Offset from start of page */ | 25 | /* Offset from start of page */ |
28 | u32 rd_offset; | 26 | u32 rd_offset; |
29 | /* Starting page in Ramdisk for request */ | 27 | /* Starting page in Ramdisk for request */ |