rpmsg: char: Simplify 'rpmsg_eptdev_release()'
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Tue, 29 Oct 2019 06:09:14 +0000 (07:09 +0100)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Sat, 9 Nov 2019 00:49:37 +0000 (16:49 -0800)
commitbb06a5ce88fd3489d2415470b20ab949550a62ec
tree9e1bde803149aa67213b5f272fe948075e1bfc5c
parent278bcb7300f61785dba63840bd2a8cf79f14554c
rpmsg: char: Simplify 'rpmsg_eptdev_release()'

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

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
drivers/rpmsg/rpmsg_char.c