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
/
embKernel.c
diff --git
a/src/rtos/embKernel.c
b/src/rtos/embKernel.c
index 1987fd59c65c3e032d6a4ffb43fbb3177917df0a..85c8d19053c994f1c438f1ed065d1e2ed7e079a5 100644
(file)
--- a/
src/rtos/embKernel.c
+++ b/
src/rtos/embKernel.c
@@
-110,7
+110,7
@@
static const struct embkernel_params embkernel_params_list[] = {
static bool embkernel_detect_rtos(struct target *target)
{
- if (target->rtos->symbols
!= NULL
) {
+ if (target->rtos->symbols) {
if (target->rtos->symbols[SYMBOL_ID_S_CURRENT_TASK].address != 0)
return true;
}