cortexm: Fixed a clang-tidy warning in the PROBE macro
This commit is contained in:
parent
08207b9af9
commit
75773631cb
|
@ -392,7 +392,6 @@ bool cortexm_probe(ADIv5_AP_t *ap)
|
|||
DEBUG_INFO("Calling " STRINGIFY(x) "\n"); \
|
||||
if ((x)(t)) \
|
||||
return true; \
|
||||
else \
|
||||
target_check_error(t); \
|
||||
} while (0)
|
||||
#else
|
||||
|
@ -400,7 +399,6 @@ bool cortexm_probe(ADIv5_AP_t *ap)
|
|||
do { \
|
||||
if ((x)(t)) \
|
||||
return true; \
|
||||
else \
|
||||
target_check_error(t); \
|
||||
} while (0)
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue