]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
afs: Kill struct afs_read::pg_offset
authorDavid Howells <dhowells@redhat.com>
Thu, 16 Mar 2017 16:27:44 +0000 (16:27 +0000)
committerDavid 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

index 8499870147effedad96c9ed7897597beebf11c86..7784a8bc375c74ab5711777cbb89e4a4c60410eb 100644 (file)
@@ -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[];