diff options
Diffstat (limited to 'drivers/isdn/capi/capilib.c')
-rw-r--r-- | drivers/isdn/capi/capilib.c | 2 |
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) | |||
44 | static inline int mq_enqueue(struct capilib_ncci * np, u16 msgid) | 44 | static inline int mq_enqueue(struct capilib_ncci * np, u16 msgid) |
45 | { | 45 | { |
46 | struct capilib_msgidqueue *mq; | 46 | struct capilib_msgidqueue *mq; |
47 | if ((mq = np->msgidfree) == 0) | 47 | if ((mq = np->msgidfree) == NULL) |
48 | return 0; | 48 | return 0; |
49 | np->msgidfree = mq->next; | 49 | np->msgidfree = mq->next; |
50 | mq->msgid = msgid; | 50 | mq->msgid = msgid; |