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);
|
||||
}
|
||||
|
||||
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;
|
||||
}
|
||||
EXPORT_SYMBOL(scsi_is_fc_vport);
|
||||
|
||||
static int fc_vport_match(struct attribute_container *cont,
|
||||
struct device *dev)
|
||||
|
Loading…
Reference in New Issue
Block a user