projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6db3ac3
)
afs: Kill struct afs_read::pg_offset
author
David Howells
<dhowells@redhat.com>
Thu, 16 Mar 2017 16:27:44 +0000
(16:27 +0000)
committer
David Howells
<dhowells@redhat.com>
Thu, 16 Mar 2017 16:27:44 +0000
(16:27 +0000)
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>
fs/afs/internal.h
patch
|
blob
|
blame
|
history
diff --git
a/fs/afs/internal.h
b/fs/afs/internal.h
index 8499870147effedad96c9ed7897597beebf11c86..7784a8bc375c74ab5711777cbb89e4a4c60410eb 100644
(file)
--- 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[];