[-next] scsi: iscsi: Remove unused extern declaration iscsi_lookup_iface()

Message ID 20230725141531.10424-1-yuehaibing@huawei.com
State New
Headers
Series [-next] scsi: iscsi: Remove unused extern declaration iscsi_lookup_iface() |

Commit Message

Yue Haibing July 25, 2023, 2:15 p.m. UTC
  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(-)
  

Comments

Chris Leech July 25, 2023, 5:29 p.m. UTC | #1
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>
  
Martin K. Petersen July 26, 2023, 1:55 a.m. UTC | #2
YueHaibing,

> This is not used anymore, so can be removed.

Applied to 6.6/scsi-staging, thanks!
  
Martin K. Petersen July 31, 2023, 7:45 p.m. UTC | #3
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
  

Patch

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);