public inbox for linux-ext4@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] remove write-only variables from ext4_ordered_write_end
@ 2008-07-31 17:57 Eric Sandeen
  2008-07-31 18:09 ` Mingming Cao
  0 siblings, 1 reply; 2+ messages in thread
From: Eric Sandeen @ 2008-07-31 17:57 UTC (permalink / raw)
  To: ext4 development

from & to are unused.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
---

Index: linux-2.6/fs/ext4/inode.c
===================================================================
--- linux-2.6.orig/fs/ext4/inode.c	2008-07-31 12:38:45.000000000 -0500
+++ linux-2.6/fs/ext4/inode.c	2008-07-31 12:55:59.181165399 -0500
@@ -1336,12 +1336,8 @@ static int ext4_ordered_write_end(struct
 {
 	handle_t *handle = ext4_journal_current_handle();
 	struct inode *inode = mapping->host;
-	unsigned from, to;
 	int ret = 0, ret2;
 
-	from = pos & (PAGE_CACHE_SIZE - 1);
-	to = from + len;

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-07-31 18:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-31 17:57 [PATCH] remove write-only variables from ext4_ordered_write_end Eric Sandeen
2008-07-31 18:09 ` Mingming Cao

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox