]> Pileus Git - ~andy/linux/commitdiff
[SCSI] libfc: Remove unused fc_get_host_port_type
authorRobert Love <robert.w.love@intel.com>
Fri, 7 May 2010 22:18:24 +0000 (15:18 -0700)
committerJames Bottomley <James.Bottomley@suse.de>
Mon, 17 May 2010 02:22:29 +0000 (22:22 -0400)
Remove this unused routine.

Signed-off-by: Robert Love <robert.w.love@intel.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/libfc/fc_lport.c
include/scsi/libfc.h

index ef25e11abd33daaa200125877255f1e0d16c28f4..7159bcfa8ec3f078bd074be782fdf4df52f79dea 100644 (file)
@@ -243,17 +243,6 @@ static void fc_lport_ptp_setup(struct fc_lport *lport,
        fc_lport_enter_ready(lport);
 }
 
-/**
- * fc_get_host_port_type() - Return the port type of the given Scsi_Host
- * @shost: The SCSI host whose port type is to be determined
- */
-void fc_get_host_port_type(struct Scsi_Host *shost)
-{
-       /* TODO - currently just NPORT */
-       fc_host_port_type(shost) = FC_PORTTYPE_NPORT;
-}
-EXPORT_SYMBOL(fc_get_host_port_type);
-
 /**
  * fc_get_host_port_state() - Return the port state of the given Scsi_Host
  * @shost:  The SCSI host whose port state is to be determined
index a26bb50c0c8bd5d070304a6a470b4123c0a02474..1755fa7e9271ae7f00cf6008f6c477ee8478448f 100644 (file)
@@ -1049,7 +1049,6 @@ void fc_exch_mgr_reset(struct fc_lport *, u32 s_id, u32 d_id);
  * Functions for fc_functions_template
  */
 void fc_get_host_speed(struct Scsi_Host *);
-void fc_get_host_port_type(struct Scsi_Host *);
 void fc_get_host_port_state(struct Scsi_Host *);
 void fc_set_rport_loss_tmo(struct fc_rport *, u32 timeout);
 struct fc_host_statistics *fc_get_host_stats(struct Scsi_Host *);