adiv5_jtagdp: remove double-parens on if statement

Some parens were doubled-up, which can cause warnings on certain
platforms. Remove the double-parens in order to fix this warning.

Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
Sean Cross 2022-08-07 23:03:24 +08:00 committed by Rachel Mant
parent aeab1bae03
commit c89fd19632
1 changed files with 1 additions and 1 deletions

View File

@ -95,7 +95,7 @@ uint32_t fw_adiv5_jtagdp_low_access(ADIv5_DP_t *dp, uint8_t RnW, uint16_t addr,
dp->fault = 1;
return 0;
}
if ((ack != JTAGDP_ACK_OK))
if (ack != JTAGDP_ACK_OK)
raise_exception(EXCEPTION_ERROR, "JTAG-DP invalid ACK");
return (uint32_t)(response >> 3);