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: Bart Van Assche <bart.vanassche@sandisk.com> Reviewed-by: Mike Christie <michaelc@cs.wisc.edu> Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
Родитель
6fe3ed88fe
Коммит
7a15fdfab0
|
@ -1324,11 +1324,10 @@ EXPORT_SYMBOL_GPL(iscsi_create_flashnode_conn);
|
|||
* 1 on success
|
||||
* 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;
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(iscsi_is_flashnode_conn_dev);
|
||||
|
||||
static int iscsi_destroy_flashnode_conn(struct iscsi_bus_flash_conn *fnode_conn)
|
||||
{
|
||||
|
|
Загрузка…
Ссылка в новой задаче