include/scsi/scsi_transport_iscsi.h | 1 - 1 file changed, 1 deletion(-)
This is not used anymore, so can be removed.
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
---
include/scsi/scsi_transport_iscsi.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/include/scsi/scsi_transport_iscsi.h b/include/scsi/scsi_transport_iscsi.h
index 34c03707fb6e..fb3399e4cd29 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);
--
2.34.1
On Tue, 25 Jul 2023 22:15:31 +0800, YueHaibing wrote:
> This is not used anymore, so can be removed.
>
>
Applied to 6.6/scsi-queue, thanks!
[1/1] scsi: iscsi: Remove unused extern declaration iscsi_lookup_iface()
https://git.kernel.org/mkp/scsi/c/a615e93d6cfe
--
Martin K. Petersen Oracle Linux Engineering
YueHaibing, > This is not used anymore, so can be removed. Applied to 6.6/scsi-staging, thanks! -- Martin K. Petersen Oracle Linux Engineering
On Tue, Jul 25, 2023 at 10:15:31PM +0800, YueHaibing wrote: > This is not used anymore, so can be removed. > > Signed-off-by: YueHaibing <yuehaibing@huawei.com> Thanks, Reviewed-by: Chris Leech <cleech@redhat.com>
© 2016 - 2026 Red Hat, Inc.