summaryrefslogtreecommitdiff
path: root/drivers/target/iscsi/iscsi_target_nego.h
diff options
context:
space:
mode:
authorYue Haibing <yuehaibing@huawei.com>2024-08-10 12:34:37 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2024-08-23 04:15:21 +0300
commit3c9265ed191d34349889ee426ed4a2394ba4a77b (patch)
tree4e85a0935312c044ad69f9c00a33cf28cf0e9f2e /drivers/target/iscsi/iscsi_target_nego.h
parent2e4b02fad094976763af08fec2c620f4f8edd9ae (diff)
downloadlinux-3c9265ed191d34349889ee426ed4a2394ba4a77b.tar.xz
scsi: target: Remove unused declarations
Commit 13247018d68f ("scsi: target: iscsi: Fix hang in the iSCSI login code") removed iscsi_handle_login_thread_timeout() but left declaration. Commit 3e1c81a95f0d ("iscsi-target: Refactor RX PDU logic + export request PDU handling") left iscsi_target_get_initial_payload() declaration. Commit d703ce2f7f4d ("iscsi/iser-target: Convert to command priv_size usage") remove iscsit_alloc_cmd() but left declaration. And finally, a few other declarations were never implenmented since introduction in commit e48354ce078c ("iscsi-target: Add iSCSI fabric support for target v4.1"). Signed-off-by: Yue Haibing <yuehaibing@huawei.com> Link: https://lore.kernel.org/r/20240810093437.2586476-1-yuehaibing@huawei.com Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/target/iscsi/iscsi_target_nego.h')
-rw-r--r--drivers/target/iscsi/iscsi_target_nego.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/target/iscsi/iscsi_target_nego.h b/drivers/target/iscsi/iscsi_target_nego.h
index 41c3db3ddeaa..e60a46d34835 100644
--- a/drivers/target/iscsi/iscsi_target_nego.h
+++ b/drivers/target/iscsi/iscsi_target_nego.h
@@ -15,8 +15,6 @@ extern int extract_param(const char *, const char *, unsigned int, char *,
unsigned char *);
extern int iscsi_target_check_login_request(struct iscsit_conn *,
struct iscsi_login *);
-extern int iscsi_target_get_initial_payload(struct iscsit_conn *,
- struct iscsi_login *);
extern int iscsi_target_locate_portal(struct iscsi_np *, struct iscsit_conn *,
struct iscsi_login *);
extern int iscsi_target_start_negotiation(