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
/
nuttx.c
diff --git
a/src/rtos/nuttx.c
b/src/rtos/nuttx.c
index 00fec7fb764580d6ef5f5b7c95d5dc7572d700a0..cc352d18008f1e051ea560fcb0884d71beccc0ff 100644
(file)
--- a/
src/rtos/nuttx.c
+++ b/
src/rtos/nuttx.c
@@
-233,7
+233,7
@@
retok:
static bool nuttx_detect_rtos(struct target *target)
{
- if ((target->rtos->symbols
!= NULL
) &&
+ if ((target->rtos->symbols) &&
(target->rtos->symbols[0].address != 0) &&
(target->rtos->symbols[1].address != 0)) {
return true;