Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1587620 > unrolled thread

[PATCH 07/14] afs: Kill struct afs_read::pg_offset

Started byDavid Howells <dhowells@redhat.com>
First post2017-02-24 14:20 +0100
Last post2017-02-24 14:20 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH 07/14] afs: Kill struct afs_read::pg_offset David Howells <dhowells@redhat.com> - 2017-02-24 14:20 +0100

#1587620 — [PATCH 07/14] afs: Kill struct afs_read::pg_offset

FromDavid Howells <dhowells@redhat.com>
Date2017-02-24 14:20 +0100
Subject[PATCH 07/14] afs: Kill struct afs_read::pg_offset
Message-ID<tenWW-FB-25@gated-at.bofh.it>
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 68a40e880eb9..4213aa35deed 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[];

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web