]> 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)
commit1bfbd5f1f0f1ef258a9ae1759ece2c7d1da7746f
tree818ea9b8588452c9b09841250bb18a13388f3227
parent9d942c4e5b650009bb951ba6f7f80982f8f7f840
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