net: mhi: Get rid of local rx queue count
authorLoic Poulain <loic.poulain@linaro.org>
Mon, 11 Jan 2021 18:07:42 +0000 (19:07 +0100)
committerJakub Kicinski <kuba@kernel.org>
Sat, 30 Jan 2021 03:42:06 +0000 (19:42 -0800)
commit6e10785ee148655577885b65605836210a741bee
tree818ea9b8588452c9b09841250bb18a13388f3227
parente6ec3ccd4eb2b3b9cf0a4127cf00fae602570a52
net: mhi: Get rid of local rx queue count

Use the new mhi_get_free_desc_count helper to track queue usage
instead of relying on the locally maintained rx_queued count.

Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/mhi_net.c