btrfs: remove unused variable from scrub_fixup_nodatasum
authorValentina Giusti <valentina.giusti@microon.de>
Mon, 4 Nov 2013 21:34:27 +0000 (22:34 +0100)
committerChris Mason <clm@fb.com>
Tue, 28 Jan 2014 21:19:34 +0000 (13:19 -0800)
Signed-off-by: Valentina Giusti <valentina.giusti@microon.de>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Signed-off-by: Chris Mason <clm@fb.com>
fs/btrfs/scrub.c

index 1fd3f33c330abe930fbd03de1deb5968e32fd7b5..e5481ae12753bee55cf148301b1ee869af9fcbaa 100644 (file)
@@ -704,13 +704,11 @@ static void scrub_fixup_nodatasum(struct btrfs_work *work)
        struct scrub_fixup_nodatasum *fixup;
        struct scrub_ctx *sctx;
        struct btrfs_trans_handle *trans = NULL;
-       struct btrfs_fs_info *fs_info;
        struct btrfs_path *path;
        int uncorrectable = 0;
 
        fixup = container_of(work, struct scrub_fixup_nodatasum, work);
        sctx = fixup->sctx;
-       fs_info = fixup->root->fs_info;
 
        path = btrfs_alloc_path();
        if (!path) {