diff options
Diffstat (limited to 'drivers/scsi/bfa/fcpim.c')
-rw-r--r-- | drivers/scsi/bfa/fcpim.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/scsi/bfa/fcpim.c b/drivers/scsi/bfa/fcpim.c index 8ce5d8934677..1f3c06efaa9e 100644 --- a/drivers/scsi/bfa/fcpim.c +++ b/drivers/scsi/bfa/fcpim.c | |||
@@ -286,11 +286,10 @@ bfa_fcs_itnim_sm_online(struct bfa_fcs_itnim_s *itnim, | |||
286 | bfa_sm_set_state(itnim, bfa_fcs_itnim_sm_hcb_offline); | 286 | bfa_sm_set_state(itnim, bfa_fcs_itnim_sm_hcb_offline); |
287 | bfa_fcb_itnim_offline(itnim->itnim_drv); | 287 | bfa_fcb_itnim_offline(itnim->itnim_drv); |
288 | bfa_itnim_offline(itnim->bfa_itnim); | 288 | bfa_itnim_offline(itnim->bfa_itnim); |
289 | if (bfa_fcs_port_is_online(itnim->rport->port) == BFA_TRUE) { | 289 | if (bfa_fcs_port_is_online(itnim->rport->port) == BFA_TRUE) |
290 | bfa_fcs_itnim_aen_post(itnim, BFA_ITNIM_AEN_DISCONNECT); | 290 | bfa_fcs_itnim_aen_post(itnim, BFA_ITNIM_AEN_DISCONNECT); |
291 | } else { | 291 | else |
292 | bfa_fcs_itnim_aen_post(itnim, BFA_ITNIM_AEN_OFFLINE); | 292 | bfa_fcs_itnim_aen_post(itnim, BFA_ITNIM_AEN_OFFLINE); |
293 | } | ||
294 | break; | 293 | break; |
295 | 294 | ||
296 | case BFA_FCS_ITNIM_SM_DELETE: | 295 | case BFA_FCS_ITNIM_SM_DELETE: |
@@ -732,7 +731,7 @@ bfa_fcs_itnim_lookup(struct bfa_fcs_port_s *port, wwn_t rpwwn) | |||
732 | return NULL; | 731 | return NULL; |
733 | 732 | ||
734 | bfa_assert(rport->itnim != NULL); | 733 | bfa_assert(rport->itnim != NULL); |
735 | return (rport->itnim); | 734 | return rport->itnim; |
736 | } | 735 | } |
737 | 736 | ||
738 | bfa_status_t | 737 | bfa_status_t |