diff options
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_hbadisc.c')
-rw-r--r-- | drivers/scsi/lpfc/lpfc_hbadisc.c | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/drivers/scsi/lpfc/lpfc_hbadisc.c b/drivers/scsi/lpfc/lpfc_hbadisc.c index 7c8c3e6f399d..7cb68feb04fd 100644 --- a/drivers/scsi/lpfc/lpfc_hbadisc.c +++ b/drivers/scsi/lpfc/lpfc_hbadisc.c | |||
@@ -2948,24 +2948,6 @@ __lpfc_find_node(struct lpfc_vport *vport, node_filter filter, void *param) | |||
2948 | return NULL; | 2948 | return NULL; |
2949 | } | 2949 | } |
2950 | 2950 | ||
2951 | #if 0 | ||
2952 | /* | ||
2953 | * Search node lists for a remote port matching filter criteria | ||
2954 | * Caller needs to hold host_lock before calling this routine. | ||
2955 | */ | ||
2956 | struct lpfc_nodelist * | ||
2957 | lpfc_find_node(struct lpfc_vport *vport, node_filter filter, void *param) | ||
2958 | { | ||
2959 | struct Scsi_Host *shost = lpfc_shost_from_vport(vport); | ||
2960 | struct lpfc_nodelist *ndlp; | ||
2961 | |||
2962 | spin_lock_irq(shost->host_lock); | ||
2963 | ndlp = __lpfc_find_node(vport, filter, param); | ||
2964 | spin_unlock_irq(shost->host_lock); | ||
2965 | return ndlp; | ||
2966 | } | ||
2967 | #endif /* 0 */ | ||
2968 | |||
2969 | /* | 2951 | /* |
2970 | * This routine looks up the ndlp lists for the given RPI. If rpi found it | 2952 | * This routine looks up the ndlp lists for the given RPI. If rpi found it |
2971 | * returns the node list element pointer else return NULL. | 2953 | * returns the node list element pointer else return NULL. |
@@ -2976,20 +2958,6 @@ __lpfc_findnode_rpi(struct lpfc_vport *vport, uint16_t rpi) | |||
2976 | return __lpfc_find_node(vport, lpfc_filter_by_rpi, &rpi); | 2958 | return __lpfc_find_node(vport, lpfc_filter_by_rpi, &rpi); |
2977 | } | 2959 | } |
2978 | 2960 | ||
2979 | #if 0 | ||
2980 | struct lpfc_nodelist * | ||
2981 | lpfc_findnode_rpi(struct lpfc_vport *vport, uint16_t rpi) | ||
2982 | { | ||
2983 | struct Scsi_Host *shost = lpfc_shost_from_vport(vport); | ||
2984 | struct lpfc_nodelist *ndlp; | ||
2985 | |||
2986 | spin_lock_irq(shost->host_lock); | ||
2987 | ndlp = __lpfc_findnode_rpi(vport, rpi); | ||
2988 | spin_unlock_irq(shost->host_lock); | ||
2989 | return ndlp; | ||
2990 | } | ||
2991 | #endif /* 0 */ | ||
2992 | |||
2993 | /* | 2961 | /* |
2994 | * This routine looks up the ndlp lists for the given WWPN. If WWPN found it | 2962 | * This routine looks up the ndlp lists for the given WWPN. If WWPN found it |
2995 | * returns the node element list pointer else return NULL. | 2963 | * returns the node element list pointer else return NULL. |