openocd: remove NULL comparisons with checkpatch [1/2]
[fw/openocd] / src / rtos / mqx.c
index f6be35b6cc57ed6aa2f5b70b854c9bbd543ea3f5..710436b7423b23bd3c0f270773116661b2e6dc2d 100644 (file)
@@ -243,7 +243,7 @@ static bool mqx_detect_rtos(
 )
 {
        if (
-               (target->rtos->symbols != NULL) &&
+               (target->rtos->symbols) &&
                (target->rtos->symbols[MQX_VAL_MQX_KERNEL_DATA].address != 0)
        ) {
                return true;