diff options
author | David Howells <dhowells@redhat.com> | 2020-01-23 22:21:59 +0000 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2022-12-01 13:36:40 +0000 |
commit | 4041a8ff653ec4e4d9e6395802cb3f4fca59f7f3 (patch) | |
tree | d3c12c4b52c67c2519694e1bb6d1b1aa0d237735 /net/rxrpc/call_object.c | |
parent | ff7348254e704b6d0121970e311a6b699268e1ac (diff) | |
download | lwn-4041a8ff653ec4e4d9e6395802cb3f4fca59f7f3.tar.gz lwn-4041a8ff653ec4e4d9e6395802cb3f4fca59f7f3.zip |
rxrpc: Remove call->input_lock
Remove call->input_lock as it was only necessary to serialise access to the
state stored in the rxrpc_call struct by simultaneous softirq handlers
presenting received packets. They now dump the packets in a queue and a
single process-context handler now processes them.
Signed-off-by: David Howells <dhowells@redhat.com>
cc: Marc Dionne <marc.dionne@auristor.com>
cc: linux-afs@lists.infradead.org
Diffstat (limited to 'net/rxrpc/call_object.c')
-rw-r--r-- | net/rxrpc/call_object.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/net/rxrpc/call_object.c b/net/rxrpc/call_object.c index 57c8d4cc900a..f6d1b3a6f8c6 100644 --- a/net/rxrpc/call_object.c +++ b/net/rxrpc/call_object.c @@ -143,7 +143,6 @@ struct rxrpc_call *rxrpc_alloc_call(struct rxrpc_sock *rx, gfp_t gfp, init_waitqueue_head(&call->waitq); spin_lock_init(&call->notify_lock); spin_lock_init(&call->tx_lock); - spin_lock_init(&call->input_lock); spin_lock_init(&call->acks_ack_lock); rwlock_init(&call->state_lock); refcount_set(&call->ref, 1); |