summaryrefslogtreecommitdiffstats
path: root/net/rxrpc/ar-internal.h
diff options
context:
space:
mode:
authorDavid Howells2016-09-30 14:26:03 +0200
committerDavid Howells2016-09-30 15:39:28 +0200
commit775e5b71db6aca47d49d43d08751f2e8ebad7f60 (patch)
tree54beb3163dd5d3184d55cf8c46ae60fed3cbb963 /net/rxrpc/ar-internal.h
parentrxrpc: Reduce ssthresh to peer's receive window (diff)
downloadkernel-qcow2-linux-775e5b71db6aca47d49d43d08751f2e8ebad7f60.tar.gz
kernel-qcow2-linux-775e5b71db6aca47d49d43d08751f2e8ebad7f60.tar.xz
kernel-qcow2-linux-775e5b71db6aca47d49d43d08751f2e8ebad7f60.zip
rxrpc: The offset field in struct rxrpc_skb_priv is unnecessary
The offset field in struct rxrpc_skb_priv is unnecessary as the value can always be calculated. Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'net/rxrpc/ar-internal.h')
-rw-r--r--net/rxrpc/ar-internal.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/rxrpc/ar-internal.h b/net/rxrpc/ar-internal.h
index 539db54697f9..fd64a2bd1072 100644
--- a/net/rxrpc/ar-internal.h
+++ b/net/rxrpc/ar-internal.h
@@ -144,7 +144,6 @@ struct rxrpc_skb_priv {
u8 nr_jumbo; /* Number of jumbo subpackets */
};
union {
- unsigned int offset; /* offset into buffer of next read */
int remain; /* amount of space remaining for next write */
u32 error; /* network error code */
};