net: qrtr: Simplify 'qrtr_tun_release()'
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Wed, 30 Oct 2019 06:36:40 +0000 (07:36 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 31 Oct 2019 00:58:23 +0000 (17:58 -0700)
commit21d8bd123ac4f2223728901f0f26c90d1cbd42e3
tree875a509d2b6c70a50f1098e37bab82486dc56e42
parentdba7bf0348e47c2adc2994e811473ef3cd216e3b
net: qrtr: Simplify 'qrtr_tun_release()'

Use 'skb_queue_purge()' instead of re-implementing it.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/qrtr/tun.c