Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Bart Van Assche and committed by
Martin K. Petersen
62055172 1b6ac5e3

+1 -2
+1 -2
drivers/scsi/scsi_transport_fc.c
··· 2027 2027 kfree(vport); 2028 2028 } 2029 2029 2030 - int scsi_is_fc_vport(const struct device *dev) 2030 + static int scsi_is_fc_vport(const struct device *dev) 2031 2031 { 2032 2032 return dev->release == fc_vport_dev_release; 2033 2033 } 2034 - EXPORT_SYMBOL(scsi_is_fc_vport); 2035 2034 2036 2035 static int fc_vport_match(struct attribute_container *cont, 2037 2036 struct device *dev)