net: ipa: don't retry in ipa_endpoint_stop()
authorAlex Elder <elder@linaro.org>
Mon, 4 May 2020 23:53:43 +0000 (18:53 -0500)
committerDavid S. Miller <davem@davemloft.net>
Thu, 7 May 2020 00:41:11 +0000 (17:41 -0700)
commit9928fcc76f7bb5c93d512767b039e8257ab3093e
tree9b8d569b59d218c5a18b30c5807caf70228f80f9
parentc72ddf0dbf2d9d80afd37e28f0a52e728e6db159
net: ipa: don't retry in ipa_endpoint_stop()

The only reason ipa_endpoint_stop() had a retry loop was that the
just-removed workaround required an IPA DMA command to occur between
attempts.  The gsi_channel_stop() call that implements the stop does
its own retry loop, to cover a channel's transition from started to
stop-in-progress to stopped state.

Get rid of the unnecessary retry loop in ipa_endpoint_stop().

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