Commit b103918a authored by Sebastian Herbszt's avatar Sebastian Herbszt Committed by James Bottomley

lpfc: Use && instead of & for boolean expression

Use logical instead of bitwise AND.
Signed-off-by: default avatarSebastian Herbszt <herbszt@gmx.de>
Reviewed-by: default avatarJames Smart <james.smart@avagotech.com>
Signed-off-by: default avatarJames Bottomley <JBottomley@Odin.com>
parent 5155ce5f
...@@ -701,7 +701,7 @@ lpfc_work_done(struct lpfc_hba *phba) ...@@ -701,7 +701,7 @@ lpfc_work_done(struct lpfc_hba *phba)
HA_RXMASK)); HA_RXMASK));
} }
} }
if ((phba->sli_rev == LPFC_SLI_REV4) & if ((phba->sli_rev == LPFC_SLI_REV4) &&
(!list_empty(&pring->txq))) (!list_empty(&pring->txq)))
lpfc_drain_txq(phba); lpfc_drain_txq(phba);
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment