summaryrefslogtreecommitdiff
path: root/volumes.c
diff options
context:
space:
mode:
authorHubert Kario <kario@wit.edu.pl>2011-06-29 19:54:35 +0200
committerChris Mason <chris.mason@oracle.com>2011-10-25 09:18:59 -0400
commit3c3a13bf3f34c8cd4b5ffc5b38655b080f2f7568 (patch)
tree5618d83ce6288cd7989df8a7ef7e668dd41c03aa /volumes.c
parentdb9831e4f4b975ef852027eabeb75099a8b64f60 (diff)
remove unused variables
fixes compilation warnings with gcc 4.6.0 20110429 Signed-off-by: Hubert Kario <kario@wit.edu.pl> Signed-off-by: Hugo Mills <hugo@carfax.org.uk>
Diffstat (limited to 'volumes.c')
-rw-r--r--volumes.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/volumes.c b/volumes.c
index ccdcb30b..37f68df0 100644
--- a/volumes.c
+++ b/volumes.c
@@ -868,7 +868,6 @@ int btrfs_alloc_data_chunk(struct btrfs_trans_handle *trans,
struct list_head *dev_list = &extent_root->fs_info->fs_devices->devices;
struct list_head *cur;
struct map_lookup *map;
- u64 physical;
u64 calc_size = 8 * 1024 * 1024;
int num_stripes = 1;
int sub_stripes = 0;
@@ -920,7 +919,6 @@ int btrfs_alloc_data_chunk(struct btrfs_trans_handle *trans,
btrfs_set_stack_stripe_devid(stripe, device->devid);
btrfs_set_stack_stripe_offset(stripe, dev_offset);
memcpy(stripe->dev_uuid, device->uuid, BTRFS_UUID_SIZE);
- physical = dev_offset;
index++;
}