summaryrefslogtreecommitdiffstats
path: root/fs/afs/internal.h
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2017-03-16 17:27:44 +0100
committerDavid Howells <dhowells@redhat.com>2017-03-16 17:27:44 +0100
commit3448e6521755862446aed28e29abf12565d8844e (patch)
treeb893dbe16aaa26af0642fe6a8e4051eb172445e0 /fs/afs/internal.h
parentafs: Handle better the server returning excess or short data (diff)
downloadlinux-3448e6521755862446aed28e29abf12565d8844e.tar.xz
linux-3448e6521755862446aed28e29abf12565d8844e.zip
afs: Kill struct afs_read::pg_offset
Kill struct afs_read::pg_offset as nothing uses it. It's unnecessary as pos can be masked off. Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'fs/afs/internal.h')
-rw-r--r--fs/afs/internal.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/afs/internal.h b/fs/afs/internal.h
index 8499870147ef..7784a8bc375c 100644
--- a/fs/afs/internal.h
+++ b/fs/afs/internal.h
@@ -135,7 +135,6 @@ struct afs_read {
atomic_t usage;
unsigned int remain; /* Amount remaining */
unsigned int index; /* Which page we're reading into */
- unsigned int pg_offset; /* Offset in page we're at */
unsigned int nr_pages;
void (*page_done)(struct afs_call *, struct afs_read *);
struct page *pages[];