diff options
| -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 ef25e11abd33..7159bcfa8ec3 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, | |||
| 244 | } | 244 | } |
| 245 | 245 | ||
| 246 | /** | 246 | /** |
| 247 | * fc_get_host_port_type() - Return the port type of the given Scsi_Host | ||
| 248 | * @shost: The SCSI host whose port type is to be determined | ||
| 249 | */ | ||
| 250 | void fc_get_host_port_type(struct Scsi_Host *shost) | ||
| 251 | { | ||
| 252 | /* TODO - currently just NPORT */ | ||
| 253 | fc_host_port_type(shost) = FC_PORTTYPE_NPORT; | ||
| 254 | } | ||
| 255 | EXPORT_SYMBOL(fc_get_host_port_type); | ||
| 256 | |||
| 257 | /** | ||
| 258 | * fc_get_host_port_state() - Return the port state of the given Scsi_Host | 247 | * fc_get_host_port_state() - Return the port state of the given Scsi_Host |
| 259 | * @shost: The SCSI host whose port state is to be determined | 248 | * @shost: The SCSI host whose port state is to be determined |
| 260 | */ | 249 | */ |
diff --git a/include/scsi/libfc.h b/include/scsi/libfc.h index a26bb50c0c8b..1755fa7e9271 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); | |||
| 1049 | * Functions for fc_functions_template | 1049 | * Functions for fc_functions_template |
| 1050 | */ | 1050 | */ |
| 1051 | void fc_get_host_speed(struct Scsi_Host *); | 1051 | void fc_get_host_speed(struct Scsi_Host *); |
| 1052 | void fc_get_host_port_type(struct Scsi_Host *); | ||
| 1053 | void fc_get_host_port_state(struct Scsi_Host *); | 1052 | void fc_get_host_port_state(struct Scsi_Host *); |
| 1054 | void fc_set_rport_loss_tmo(struct fc_rport *, u32 timeout); | 1053 | void fc_set_rport_loss_tmo(struct fc_rport *, u32 timeout); |
| 1055 | struct fc_host_statistics *fc_get_host_stats(struct Scsi_Host *); | 1054 | struct fc_host_statistics *fc_get_host_stats(struct Scsi_Host *); |
