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
/
linux.c
diff --git
a/src/rtos/linux.c
b/src/rtos/linux.c
index b9749b5612abb3dc44c68a06e3d4f6d126233e12..11a55c43466493d9d4b1d6fd52f7b52f3886d357 100644
(file)
--- a/
src/rtos/linux.c
+++ b/
src/rtos/linux.c
@@
-639,7
+639,7
@@
static struct threads *liste_add_task(struct threads *task_list, struct threads
{
t->next = NULL;
{
t->next = NULL;
- if (
*last == NULL
)
+ if (
!*last
)
if (!task_list) {
task_list = t;
return task_list;
if (!task_list) {
task_list = t;
return task_list;