projects
/
fw
/
openocd
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
openocd: remove NULL comparisons with checkpatch [1/2]
[fw/openocd]
/
src
/
rtos
/
mqx.c
diff --git
a/src/rtos/mqx.c
b/src/rtos/mqx.c
index f6be35b6cc57ed6aa2f5b70b854c9bbd543ea3f5..710436b7423b23bd3c0f270773116661b2e6dc2d 100644
(file)
--- a/
src/rtos/mqx.c
+++ b/
src/rtos/mqx.c
@@
-243,7
+243,7
@@
static bool mqx_detect_rtos(
)
{
if (
)
{
if (
- (target->rtos->symbols
!= NULL
) &&
+ (target->rtos->symbols) &&
(target->rtos->symbols[MQX_VAL_MQX_KERNEL_DATA].address != 0)
) {
return true;
(target->rtos->symbols[MQX_VAL_MQX_KERNEL_DATA].address != 0)
) {
return true;