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>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user