diff options
author | Robert Love <robert.w.love@intel.com> | 2010-05-07 15:18:24 -0700 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2010-05-16 22:22:29 -0400 |
commit | 1b80e0f91c41db4633c0a61f727de169a9e9b275 (patch) | |
tree | eda3295e4b1f609727bbb661410dd17093f62e96 | |
parent | 721cafafb66f57b461226aa197997f3e5b296f91 (diff) | |
download | op-kernel-dev-1b80e0f91c41db4633c0a61f727de169a9e9b275.zip op-kernel-dev-1b80e0f91c41db4633c0a61f727de169a9e9b275.tar.gz |
[SCSI] libfc: Remove unused fc_get_host_port_type
Remove this unused routine.
Signed-off-by: Robert Love <robert.w.love@intel.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
-rw-r--r-- | drivers/scsi/libfc/fc_lport.c | 11 | ||||
-rw-r--r-- | include/scsi/libfc.h | 1 |
2 files changed, 0 insertions, 12 deletions
diff --git a/drivers/scsi/libfc/fc_lport.c b/drivers/scsi/libfc/fc_lport.c index ef25e11..7159bcf 100644 --- a/drivers/scsi/libfc/fc_lport.c +++ b/drivers/scsi/libfc/fc_lport.c @@ -244,17 +244,6 @@ static void fc_lport_ptp_setup(struct fc_lport *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 */ diff --git a/include/scsi/libfc.h b/include/scsi/libfc.h index a26bb50..1755fa7 100644 --- a/include/scsi/libfc.h +++ b/include/scsi/libfc.h @@ -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 *); |