lkml.org 
[lkml]   [2017]   [Mar]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Subject[PATCH 07/27] afs: Kill struct afs_read::pg_offset
    From
    Date
    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 | 1 -
    1 file changed, 1 deletion(-)

    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[];
    \
     
     \ /
      Last update: 2017-03-09 20:02    [W:8.772 / U:0.096 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site