summaryrefslogtreecommitdiff
path: root/net/rxrpc/ar-call.c
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2016-04-07 16:23:37 (GMT)
committerDavid S. Miller <davem@davemloft.net>2016-04-11 19:34:41 (GMT)
commit843099cac0dbe421d7c3ea1f8662251fd7065731 (patch)
treead7a32dbe27a1530bc36ecdab9806021fe5d0660 /net/rxrpc/ar-call.c
parentdc44b3a09aec9ac57c1e7410677c87c0e6453624 (diff)
downloadlinux-843099cac0dbe421d7c3ea1f8662251fd7065731.tar.xz
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.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/net/rxrpc/ar-call.c b/net/rxrpc/ar-call.c
index 67a211f..571a41f 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);