summaryrefslogtreecommitdiffstats
path: root/include/target
diff options
context:
space:
mode:
authorMike Christie <mchristi@redhat.com>2018-06-22 23:40:23 +0200
committerMartin K. Petersen <martin.petersen@oracle.com>2018-06-26 18:27:06 +0200
commite2607484370ea1b3595a3c51485e66e0cbd17341 (patch)
treec21f273be128be4a0a64f826e903bef102a7243a /include/target
parentscsi: tcmu: add module wide block/reset_netlink support (diff)
downloadlinux-e2607484370ea1b3595a3c51485e66e0cbd17341.tar.xz
linux-e2607484370ea1b3595a3c51485e66e0cbd17341.zip
scsi: target: remove target_find_device
target_find_device is no longer used, so remove it. Signed-off-by: Mike Christie <mchristi@redhat.com> Tested-by: Xiubo Li <xiubli@redhat.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'include/target')
-rw-r--r--include/target/target_core_backend.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/target/target_core_backend.h b/include/target/target_core_backend.h
index 34a15d59ed88..c3ac47255218 100644
--- a/include/target/target_core_backend.h
+++ b/include/target/target_core_backend.h
@@ -106,8 +106,6 @@ bool target_lun_is_rdonly(struct se_cmd *);
sense_reason_t passthrough_parse_cdb(struct se_cmd *cmd,
sense_reason_t (*exec_cmd)(struct se_cmd *cmd));
-struct se_device *target_find_device(int id, bool do_depend);
-
bool target_sense_desc_format(struct se_device *dev);
sector_t target_to_linux_sector(struct se_device *dev, sector_t lb);
bool target_configure_unmap_from_queue(struct se_dev_attrib *attrib,