From: Arvind Yadav
Date: Sun, 17 Dec 2017 01:17:23 +0530
> skb_dequeue() will return NULL for an empty list or a pointer
> to the head element.
>
> Signed-off-by: Arvind Yadav
There is no code path where this is possible.
The two call sites:
1) Explicitly add an SKB to the queue
OR
2) Expl
skb_dequeue() will return NULL for an empty list or a pointer
to the head element.
Signed-off-by: Arvind Yadav
---
drivers/isdn/hardware/avm/b1dma.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/isdn/hardware/avm/b1dma.c
b/drivers/isdn/hardware/avm/b1dma.c
index 9538a9e..10df578