summaryrefslogtreecommitdiff
path: root/drivers/isdn/capi/capilib.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/isdn/capi/capilib.c')
-rw-r--r--drivers/isdn/capi/capilib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/isdn/capi/capilib.c b/drivers/isdn/capi/capilib.c
index 68409d971e73..34d8be2761c1 100644
--- a/drivers/isdn/capi/capilib.c
+++ b/drivers/isdn/capi/capilib.c
@@ -44,7 +44,7 @@ static inline void mq_init(struct capilib_ncci * np)
static inline int mq_enqueue(struct capilib_ncci * np, u16 msgid)
{
struct capilib_msgidqueue *mq;
- if ((mq = np->msgidfree) == 0)
+ if ((mq = np->msgidfree) == NULL)
return 0;
np->msgidfree = mq->next;
mq->msgid = msgid;