Commit 7a15fdfa authored by Bart Van Assche's avatar Bart Van Assche Committed by Martin K. Petersen

scsi_transport_iscsi: Unexport iscsi_is_flashnode_conn_dev()

The output of "git grep -nHw iscsi_is_flashnode_conn_dev" shows that
this function is only called from inside source file
drivers/scsi/scsi_transport_iscsi.c. Hence unexport this function.
Signed-off-by: default avatarBart Van Assche <bart.vanassche@sandisk.com>
Reviewed-by: default avatarMike Christie <michaelc@cs.wisc.edu>
Reviewed-by: default avatarJohannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent 6fe3ed88
...@@ -1324,11 +1324,10 @@ EXPORT_SYMBOL_GPL(iscsi_create_flashnode_conn); ...@@ -1324,11 +1324,10 @@ EXPORT_SYMBOL_GPL(iscsi_create_flashnode_conn);
* 1 on success * 1 on success
* 0 on failure * 0 on failure
*/ */
int iscsi_is_flashnode_conn_dev(struct device *dev, void *data) static int iscsi_is_flashnode_conn_dev(struct device *dev, void *data)
{ {
return dev->bus == &iscsi_flashnode_bus; return dev->bus == &iscsi_flashnode_bus;
} }
EXPORT_SYMBOL_GPL(iscsi_is_flashnode_conn_dev);
static int iscsi_destroy_flashnode_conn(struct iscsi_bus_flash_conn *fnode_conn) static int iscsi_destroy_flashnode_conn(struct iscsi_bus_flash_conn *fnode_conn)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment