mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-21 16:29:59 +00:00
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:
parent
6fe3ed88fe
commit
7a15fdfab0
1 changed files with 1 additions and 2 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue