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)
commit341d14f161a475ebdbc9adff1f7e681e1185dee9
treefff1cee32665375837b5ae735ddff17a173f24db
parent69261c4b6a394ead1b5ca2966c908469355eb603
Btrfs: Remove unused variable 'last_index' in file.c

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