提交 7a15fdfa 编写于 作者: B Bart Van Assche 提交者: 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: NBart Van Assche <bart.vanassche@sandisk.com>
Reviewed-by: NMike Christie <michaelc@cs.wisc.edu>
Reviewed-by: NJohannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: NMartin K. Petersen <martin.petersen@oracle.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册