rxrpc: Abstract out rxtx ring cleanup
authorDavid Howells <dhowells@redhat.com>
Mon, 19 Aug 2019 08:25:37 +0000 (09:25 +0100)
committerDavid Howells <dhowells@redhat.com>
Tue, 27 Aug 2019 09:03:26 +0000 (10:03 +0100)
commita641fd00d05a5ae38c5a3d50d4da10283b15287b
tree1ebf61e89027f61c605a24ea8387729c8ac9f65e
parent4858e40303fba12e7506bf4354f20fdf550b3cd5
rxrpc: Abstract out rxtx ring cleanup

Abstract out rxtx ring cleanup into its own function from its two callers.
This makes it easier to apply the same changes to both.

Signed-off-by: David Howells <dhowells@redhat.com>
net/rxrpc/call_object.c