mobile: fix -Wlogical-not-parentheses in gsm48_cc_init()

Found by clang:

  gsm48_cc.c:54:6: warning: logical not is only applied to the left
                   hand side of this comparison [-Wlogical-not-parentheses]
        if (!cc->mncc_upqueue.next == 0)
            ^                      ~~

Change-Id: Ic7ffd3aa25339e24a31bae1b7428f1f93e261858
This commit is contained in:
Vadim Yanitskiy 2023-01-12 23:04:45 +06:00
parent 923e9b0b90
commit 96fec1646d
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ int gsm48_cc_init(struct osmocom_ms *ms)
cc->ms = ms;
if (!cc->mncc_upqueue.next == 0)
if (cc->mncc_upqueue.next != NULL)
return 0;
LOGP(DCC, LOGL_INFO, "init Call Control\n");