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)
commit4b22d841954929485ffa79e3980eb46657f918dd
tree7ec35b61c5e9f14a1087937cb8851ecf8e77bac6
parentb4061c136b56b9cc2688e83293e0ea7b9605d992
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