net: ipa: drop an unneeded transaction reference
authorAlex Elder <elder@linaro.org>
Thu, 19 May 2022 15:12:11 +0000 (10:12 -0500)
committerDavid S. Miller <davem@davemloft.net>
Fri, 20 May 2022 10:12:23 +0000 (11:12 +0100)
commitc15f950d149564989aa5a134b42e83e57511e628
tree3ab7204e6d0231f1a3df3f2aa171ff6c6ca376fe
parent805cb5aadc2a88c453cfe620b28e12ff2fac27a6
net: ipa: drop an unneeded transaction reference

In gsi_channel_update(), a reference count is taken on the last
completed transaction "to keep it from completing" before we give
the event back to the hardware.  Completion processing for that
transaction (and any other "new" ones) will not occur until after
this function returns, so there's no risk it completing early.  So
there's no need to take and drop the additional transaction
reference.

Use local variables in the call to gsi_evt_ring_doorbell().

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