lpfc: Use && instead of & for boolean expression
Use logical instead of bitwise AND. Signed-off-by: Sebastian Herbszt <herbszt@gmx.de> Reviewed-by: James Smart <james.smart@avagotech.com> Signed-off-by: James Bottomley <JBottomley@Odin.com>
This commit is contained in:
parent
5155ce5f83
commit
b103918a5f
@ -701,7 +701,7 @@ lpfc_work_done(struct lpfc_hba *phba)
|
||||
HA_RXMASK));
|
||||
}
|
||||
}
|
||||
if ((phba->sli_rev == LPFC_SLI_REV4) &
|
||||
if ((phba->sli_rev == LPFC_SLI_REV4) &&
|
||||
(!list_empty(&pring->txq)))
|
||||
lpfc_drain_txq(phba);
|
||||
/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user