]> git.baikalelectronics.ru Git - kernel.git/commit
net: ipa: increment backlog in replenish caller
authorAlex Elder <elder@linaro.org>
Thu, 3 Feb 2022 17:09:20 +0000 (11:09 -0600)
committerDavid S. Miller <davem@davemloft.net>
Fri, 4 Feb 2022 10:16:07 +0000 (10:16 +0000)
commit24bddbbdf15376947b8f6cccc51b5e714923cf52
tree7ec35b61c5e9f14a1087937cb8851ecf8e77bac6
parentf5068056dbafa4cea1da39493b7fe210e1065627
net: ipa: increment backlog in replenish caller

Three spots call ipa_endpoint_replenish(), and just one of those
requests that the backlog be incremented after completing the
replenish operation.

Instead, have the caller increment the backlog, and get rid of the
add_one argument to ipa_endpoint_replenish().

Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ipa/ipa_endpoint.c