]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb2b9fa484b34a523cb20f4350f55fd9d13ecf9e8
tree818ea9b8588452c9b09841250bb18a13388f3227
parent7e480434144feb08c181a4d759d8c4d01b824683
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