diff options
author | Jing Huang <huangj@brocade.com> | 2009-09-25 21:29:54 +0200 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2009-12-04 19:00:09 +0100 |
commit | f8ceafde6f5bf6b4b7087c7f5e9da1b2a5284a2e (patch) | |
tree | 8c726ba2d6511a2a2be1adbd41af1cf09ecffb1d /drivers/scsi/bfa/ns.c | |
parent | [SCSI] scsi_transport_fc: remove invalid BUG_ON (diff) | |
download | linux-f8ceafde6f5bf6b4b7087c7f5e9da1b2a5284a2e.tar.xz linux-f8ceafde6f5bf6b4b7087c7f5e9da1b2a5284a2e.zip |
[SCSI] bfa: fixed checkpatch errors for bfad files
This patch fixes checkpatch errors/warnings in bfad files.
Signed-off-by: Jing Huang <huangj@brocade.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/bfa/ns.c')
-rw-r--r-- | drivers/scsi/bfa/ns.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/scsi/bfa/ns.c b/drivers/scsi/bfa/ns.c index 59fea99d67a4..2f8b880060bb 100644 --- a/drivers/scsi/bfa/ns.c +++ b/drivers/scsi/bfa/ns.c @@ -932,11 +932,10 @@ bfa_fcs_port_ns_send_rff_id(void *ns_cbarg, struct bfa_fcxp_s *fcxp_alloced) } ns->fcxp = fcxp; - if (BFA_FCS_VPORT_IS_INITIATOR_MODE(ns->port)) { + if (BFA_FCS_VPORT_IS_INITIATOR_MODE(ns->port)) fc4_ftrs = FC_GS_FCP_FC4_FEATURE_INITIATOR; - } else if (BFA_FCS_VPORT_IS_TARGET_MODE(ns->port)) { + else if (BFA_FCS_VPORT_IS_TARGET_MODE(ns->port)) fc4_ftrs = FC_GS_FCP_FC4_FEATURE_TARGET; - } len = fc_rffid_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), bfa_fcs_port_get_fcid(port), 0, FC_TYPE_FCP, |