]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitda3977f721b8be44415ffc1745822543e30d6bdc
treefff1cee32665375837b5ae735ddff17a173f24db
parentfe8c4593160ee599c1257bee720488b14b8ae8de
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