From mboxrd@z Thu Jan 1 00:00:00 1970 From: Robert Love Subject: [RFC PATCH 1/6] libfc: Remove unused fc_get_host_port_type Date: Wed, 27 Jan 2010 15:24:21 -0800 Message-ID: <20100127232421.10343.33928.stgit@localhost.localdomain> References: <20100127232415.10343.86703.stgit@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Return-path: Received: from mga01.intel.com ([192.55.52.88]:52653 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932168Ab0A0XYW (ORCPT ); Wed, 27 Jan 2010 18:24:22 -0500 In-Reply-To: <20100127232415.10343.86703.stgit@localhost.localdomain> Sender: linux-scsi-owner@vger.kernel.org List-Id: linux-scsi@vger.kernel.org To: linux-scsi@vger.kernel.org, james.smart@emulex.com Cc: giridhar.malavali@qlogic.com Remove an unused routine. Signed-off-by: Robert Love --- drivers/scsi/libfc/fc_lport.c | 11 ----------- 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 7ec8ce7..d35fc49 100644 --- a/drivers/scsi/libfc/fc_lport.c +++ b/drivers/scsi/libfc/fc_lport.c @@ -240,17 +240,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 4b912ee..e31150a 100644 --- a/include/scsi/libfc.h +++ b/include/scsi/libfc.h @@ -1053,7 +1053,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 *);