diff options
author | David Howells <dhowells@redhat.com> | 2016-08-23 17:27:24 +0300 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2016-08-23 17:27:24 +0300 |
commit | 01a90a459850ed1f1573f06f00f7b9d466339df0 (patch) | |
tree | 41a4aa08b699f82b2e401ffc83759ebbe3545693 /net/rxrpc/conn_client.c | |
parent | f36b5e444cf772f52782d47e99c68fef20ac5195 (diff) | |
download | linux-01a90a459850ed1f1573f06f00f7b9d466339df0.tar.xz |
rxrpc: Drop channel number field from rxrpc_call struct
Drop the channel number (channel) field from the rxrpc_call struct to
reduce the size of the call struct. The field is redundant: if the call is
attached to a connection, the channel can be obtained from there by AND'ing
with RXRPC_CHANNELMASK.
Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'net/rxrpc/conn_client.c')
-rw-r--r-- | net/rxrpc/conn_client.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/net/rxrpc/conn_client.c b/net/rxrpc/conn_client.c index d8dd8e6bb172..fc32cc67c2de 100644 --- a/net/rxrpc/conn_client.c +++ b/net/rxrpc/conn_client.c @@ -280,7 +280,6 @@ attached: found_channel: _debug("found chan"); call->conn = conn; - call->channel = chan; call->cid = conn->proto.cid | chan; call->call_id = ++conn->channels[chan].call_counter; conn->channels[chan].call_id = call->call_id; |