diff options
author | David Howells <dhowells@redhat.com> | 2016-04-07 17:23:37 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-04-11 15:34:41 -0400 |
commit | 843099cac0dbe421d7c3ea1f8662251fd7065731 (patch) | |
tree | ad7a32dbe27a1530bc36ecdab9806021fe5d0660 /net/rxrpc/ar-call.c | |
parent | dc44b3a09aec9ac57c1e7410677c87c0e6453624 (diff) | |
download | lwn-843099cac0dbe421d7c3ea1f8662251fd7065731.tar.gz lwn-843099cac0dbe421d7c3ea1f8662251fd7065731.zip |
rxrpc: Don't pass gfp around in incoming call handling functions
Don't pass gfp around in incoming call handling functions, but rather hard
code it at the points where we actually need it since the value comes from
within the rxrpc driver and is always the same.
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/rxrpc/ar-call.c')
-rw-r--r-- | net/rxrpc/ar-call.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/net/rxrpc/ar-call.c b/net/rxrpc/ar-call.c index 67a211f0ebba..571a41fd5a32 100644 --- a/net/rxrpc/ar-call.c +++ b/net/rxrpc/ar-call.c @@ -411,18 +411,17 @@ found_extant_second: */ struct rxrpc_call *rxrpc_incoming_call(struct rxrpc_sock *rx, struct rxrpc_connection *conn, - struct rxrpc_host_header *hdr, - gfp_t gfp) + struct rxrpc_host_header *hdr) { struct rxrpc_call *call, *candidate; struct rb_node **p, *parent; u32 call_id; - _enter(",%d,,%x", conn->debug_id, gfp); + _enter(",%d", conn->debug_id); ASSERT(rx != NULL); - candidate = rxrpc_alloc_call(gfp); + candidate = rxrpc_alloc_call(GFP_NOIO); if (!candidate) return ERR_PTR(-EBUSY); |