mirror of
https://github.com/torvalds/linux.git
synced 2024-11-11 14:42:24 +00:00
scsi_transport_fc: Unexport scsi_is_fc_vport()
Running the command "git grep -nHw scsi_is_fc_vport" shows that this function is only called from inside scsi_transport_fc.c. Hence unexport this function. Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com> Cc: Hannes Reinecke <hare@suse.de> Cc: James Smart <james.smart@avagotech.com> Reviewed-by: Hannes Reinicke <hare@suse.de> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
parent
1b6ac5e3ff
commit
62055172fb
@ -2027,11 +2027,10 @@ static void fc_vport_dev_release(struct device *dev)
|
|||||||
kfree(vport);
|
kfree(vport);
|
||||||
}
|
}
|
||||||
|
|
||||||
int scsi_is_fc_vport(const struct device *dev)
|
static int scsi_is_fc_vport(const struct device *dev)
|
||||||
{
|
{
|
||||||
return dev->release == fc_vport_dev_release;
|
return dev->release == fc_vport_dev_release;
|
||||||
}
|
}
|
||||||
EXPORT_SYMBOL(scsi_is_fc_vport);
|
|
||||||
|
|
||||||
static int fc_vport_match(struct attribute_container *cont,
|
static int fc_vport_match(struct attribute_container *cont,
|
||||||
struct device *dev)
|
struct device *dev)
|
||||||
|
Loading…
Reference in New Issue
Block a user