Btrfs: Remove unused variable 'last_index' in file.c
authorMitch Harder <mitch.harder@sabayonlinux.org>
Tue, 12 Jul 2011 19:43:45 +0000 (19:43 +0000)
committerChris Mason <chris.mason@oracle.com>
Mon, 1 Aug 2011 18:32:39 +0000 (14:32 -0400)
The variable 'last_index' is calculated in the __btrfs_buffered_write
function and passed as a parameter to the prepare_pages function,
but is not used anywhere in the prepare_pages function.

Remove instances of 'last_index' in these functions.

Signed-off-by: Mitch Harder <mitch.harder@sabayonlinux.org>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/file.c

diff --cc fs/btrfs/file.c
Simple merge