diff options
author | Christoph Hellwig <hch@infradead.org> | 2012-10-10 17:37:17 -0400 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2012-11-06 23:55:45 -0500 |
commit | 48c2567d1a10b5a2cab72b37775b886b08f88726 (patch) | |
tree | 0d30560ee9db1e06cca6ed0111036a713850bae6 /include/target | |
parent | c87fbd5656f263f0fc1c37d20f402797c068232e (diff) |
target: remove ->get_device_rev
Now that the reservations and ALUA code have been cleaned up there is no need
for the get_device_rev method, as we only need the standards revision in the
inquiry data, where we can hardcode it.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'include/target')
-rw-r--r-- | include/target/target_core_backend.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/target/target_core_backend.h b/include/target/target_core_backend.h index b7f3936453e1..e57f738f04f9 100644 --- a/include/target/target_core_backend.h +++ b/include/target/target_core_backend.h | |||
@@ -32,7 +32,6 @@ struct se_subsystem_api { | |||
32 | unsigned char *); | 32 | unsigned char *); |
33 | 33 | ||
34 | int (*parse_cdb)(struct se_cmd *cmd); | 34 | int (*parse_cdb)(struct se_cmd *cmd); |
35 | u32 (*get_device_rev)(struct se_device *); | ||
36 | u32 (*get_device_type)(struct se_device *); | 35 | u32 (*get_device_type)(struct se_device *); |
37 | sector_t (*get_blocks)(struct se_device *); | 36 | sector_t (*get_blocks)(struct se_device *); |
38 | unsigned char *(*get_sense_buffer)(struct se_cmd *); | 37 | unsigned char *(*get_sense_buffer)(struct se_cmd *); |