Commit 3448e652 authored by David Howells's avatar David Howells

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: default avatarDavid Howells <dhowells@redhat.com>
parent 6db3ac3c
...@@ -135,7 +135,6 @@ struct afs_read { ...@@ -135,7 +135,6 @@ struct afs_read {
atomic_t usage; atomic_t usage;
unsigned int remain; /* Amount remaining */ unsigned int remain; /* Amount remaining */
unsigned int index; /* Which page we're reading into */ unsigned int index; /* Which page we're reading into */
unsigned int pg_offset; /* Offset in page we're at */
unsigned int nr_pages; unsigned int nr_pages;
void (*page_done)(struct afs_call *, struct afs_read *); void (*page_done)(struct afs_call *, struct afs_read *);
struct page *pages[]; struct page *pages[];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment