Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);
		/*