aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext4
diff options
context:
space:
mode:
authorEric Sandeen <sandeen@redhat.com>2008-08-02 21:22:18 -0400
committerTheodore Ts'o <tytso@mit.edu>2008-08-02 21:22:18 -0400
commit7d55992d60caa390460bad1a974eb2b3c11538f4 (patch)
tree587447550232932e083074eaf6f486bfba27fcf8 /fs/ext4
parent00b32b7fb671e797bdd2736524a497f18a8df7bf (diff)
ext4: remove write-only variables from ext4_ordered_write_end
The variables 'from' and 'to' are not used anywhere. Signed-off-by: Eric Sandeen <sandeen@redhat.com> Acked-by: Mingming Cao <cmm@us.ibm.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/ext4')
-rw-r--r--fs/ext4/inode.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/fs/ext4/inode.c b/fs/ext4/inode.c
index 0080999d2cd4..59fbbe899acc 100644
--- a/fs/ext4/inode.c
+++ b/fs/ext4/inode.c
@@ -1424,12 +1424,8 @@ static int ext4_ordered_write_end(struct file *file,
1424{ 1424{
1425 handle_t *handle = ext4_journal_current_handle(); 1425 handle_t *handle = ext4_journal_current_handle();
1426 struct inode *inode = mapping->host; 1426 struct inode *inode = mapping->host;
1427 unsigned from, to;
1428 int ret = 0, ret2; 1427 int ret = 0, ret2;
1429 1428
1430 from = pos & (PAGE_CACHE_SIZE - 1);
1431 to = from + len;
1432
1433 ret = ext4_jbd2_file_inode(handle, inode); 1429 ret = ext4_jbd2_file_inode(handle, inode);
1434 1430
1435 if (ret == 0) { 1431 if (ret == 0) {