mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
lpfc: Use && instead of & for boolean expression
Use logical instead of bitwise AND. Signed-off-by: Sebastian Herbszt <[email protected]> Reviewed-by: James Smart <[email protected]> Signed-off-by: James Bottomley <[email protected]>
This commit is contained in:
parent
5155ce5f83
commit
b103918a5f
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Reference in a new issue