From: Eric Sandeen Date: Sun, 3 Aug 2008 01:22:18 +0000 (-0400) Subject: ext4: remove write-only variables from ext4_ordered_write_end X-Git-Tag: v2.6.27-rc2~71^2 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=7d55992d60caa390460bad1a974eb2b3c11538f4;p=~shefty%2Frdma-dev.git ext4: remove write-only variables from ext4_ordered_write_end The variables 'from' and 'to' are not used anywhere. Signed-off-by: Eric Sandeen Acked-by: Mingming Cao Signed-off-by: "Theodore Ts'o" --- diff --git a/fs/ext4/inode.c b/fs/ext4/inode.c index 0080999d2cd..59fbbe899ac 100644 --- a/fs/ext4/inode.c +++ b/fs/ext4/inode.c @@ -1424,12 +1424,8 @@ static int ext4_ordered_write_end(struct file *file, { 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; - ret = ext4_jbd2_file_inode(handle, inode); if (ret == 0) {