diff options
author | Andi Kleen <andi@firstfloor.org> | 2010-10-29 15:14:37 -0400 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2010-10-29 15:14:37 -0400 |
commit | 559af8211433b8c0b20e6c43c61409cb9c9c2996 (patch) | |
tree | 702ebd4c4f5b610daa36f65d814a518356a9a46b /fs/btrfs/extent-tree.c | |
parent | 411fc6bcef54f828a5458f4730c68abdf13c6bf0 (diff) |
Btrfs: cleanup warnings from gcc 4.6 (nonbugs)
These are all the cases where a variable is set, but not read which are
not bugs as far as I can see, but simply leftovers.
Still needs more review.
Found by gcc 4.6's new warnings
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Cc: Chris Mason <chris.mason@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/extent-tree.c')
-rw-r--r-- | fs/btrfs/extent-tree.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/btrfs/extent-tree.c b/fs/btrfs/extent-tree.c index 59c8daaacf0c..df754108b952 100644 --- a/fs/btrfs/extent-tree.c +++ b/fs/btrfs/extent-tree.c | |||
@@ -5719,7 +5719,6 @@ static noinline void reada_walk_down(struct btrfs_trans_handle *trans, | |||
5719 | u64 generation; | 5719 | u64 generation; |
5720 | u64 refs; | 5720 | u64 refs; |
5721 | u64 flags; | 5721 | u64 flags; |
5722 | u64 last = 0; | ||
5723 | u32 nritems; | 5722 | u32 nritems; |
5724 | u32 blocksize; | 5723 | u32 blocksize; |
5725 | struct btrfs_key key; | 5724 | struct btrfs_key key; |
@@ -5787,7 +5786,6 @@ reada: | |||
5787 | generation); | 5786 | generation); |
5788 | if (ret) | 5787 | if (ret) |
5789 | break; | 5788 | break; |
5790 | last = bytenr + blocksize; | ||
5791 | nread++; | 5789 | nread++; |
5792 | } | 5790 | } |
5793 | wc->reada_slot = slot; | 5791 | wc->reada_slot = slot; |