diff options
author | Bhanu Prakash Gollapudi <bprakash@broadcom.com> | 2011-08-05 00:38:47 (GMT) |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2011-08-27 14:35:44 (GMT) |
commit | 5fb8fd0dbc0f7e3bc3ea594223e5d4b50c2092d9 (patch) | |
tree | 2a5d289bcdf75d799539dc24a6377469e9bf9cc4 /drivers/scsi/qla4xxx | |
parent | b338c785c5c945383046ff39092e3021ea5b1d95 (diff) | |
download | linux-fsl-qoriq-5fb8fd0dbc0f7e3bc3ea594223e5d4b50c2092d9.tar.xz |
[SCSI] bnx2fc: code cleanup in bnx2fc_offload_session
- Free session resources before rport logoff
- Do not free session resources in bnx2fc_alloc_session_resc() as it is handled
in caller's error handling path.
- Do not call bnx2fc_free_session_resc() if bnx2fc_init_tgt() fails as cq_lock
is not yet initialized.
Signed-off-by: Bhanu Prakash Gollapudi <bprakash@broadcom.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/qla4xxx')
0 files changed, 0 insertions, 0 deletions