scsi_transport_fc: Unexport scsi_is_fc_vport()
authorBart Van Assche <bart.vanassche@sandisk.com>
Mon, 28 Mar 2016 21:37:28 +0000 (14:37 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Mon, 11 Apr 2016 20:57:09 +0000 (16:57 -0400)
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>
drivers/scsi/scsi_transport_fc.c

index bf28c688c72a5b643046c6ab17ebc2f156505a62..0f3a3869524bc089f57b2c4e87d44c4875fe919f 100644 (file)
@@ -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)