From: YueHaibing Date: Tue, 25 Jul 2023 14:15:31 +0000 (+0800) Subject: scsi: iscsi: Remove unused extern declaration iscsi_lookup_iface() X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=a615e93d6cfe70f9fab2cb02c7b11fe9de1c56b5;p=linux.git scsi: iscsi: Remove unused extern declaration iscsi_lookup_iface() This is not used anymore and can be removed. Signed-off-by: YueHaibing Link: https://lore.kernel.org/r/20230725141531.10424-1-yuehaibing@huawei.com Reviewed-by: Chris Leech Signed-off-by: Martin K. Petersen --- diff --git a/include/scsi/scsi_transport_iscsi.h b/include/scsi/scsi_transport_iscsi.h index 34c03707fb6ef..fb3399e4cd292 100644 --- a/include/scsi/scsi_transport_iscsi.h +++ b/include/scsi/scsi_transport_iscsi.h @@ -472,7 +472,6 @@ extern struct iscsi_iface *iscsi_create_iface(struct Scsi_Host *shost, uint32_t iface_type, uint32_t iface_num, int dd_size); extern void iscsi_destroy_iface(struct iscsi_iface *iface); -extern struct iscsi_iface *iscsi_lookup_iface(int handle); extern char *iscsi_get_port_speed_name(struct Scsi_Host *shost); extern char *iscsi_get_port_state_name(struct Scsi_Host *shost); extern int iscsi_is_session_dev(const struct device *dev);