qcacmn: remove CONSTANT_EXPRESSION_RESULT with the constant value

remove CONSTANT_EXPRESSION_RESULT with the constant value

Change-Id: Iac209ffd93f415fff22383cb25863c73bd3be6a9
CRs-Fixed: 3631794
This commit is contained in:
Mukul Dhiman
2023-10-06 15:38:47 +05:30
committed by Ravindra Konda
parent d4bf137aa0
commit 90b7cc1e6f

View File

@@ -2447,8 +2447,8 @@ dp_peer_update_state(struct dp_soc *soc,
switch (state) {
case DP_PEER_STATE_INIT:
DP_PEER_STATE_ASSERT
(peer, state, (peer_state != DP_PEER_STATE_ACTIVE) ||
(peer_state != DP_PEER_STATE_LOGICAL_DELETE));
(peer, state, (peer_state != DP_PEER_STATE_ACTIVE) &&
(peer_state != DP_PEER_STATE_LOGICAL_DELETE));
break;
case DP_PEER_STATE_ACTIVE: