btrfs-progs: Remove duplicate value-get for data_extents_scrubbed

Get data_extents_scrubbed value for twice, since there is only
one data_extents_scrubbed in struct btrfs_scrub_progress, remove
the duplicate one.

Signed-off-by: Gu Jinxiang <gujx@cn.fujitsu.com>
Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
Gu Jinxiang 2018-04-02 18:11:17 +08:00 committed by David Sterba
parent a5e29bbc1b
commit ef810bf0ad
1 changed files with 0 additions and 2 deletions

View File

@ -589,8 +589,6 @@ again:
/* fall through */ /* fall through */
case 5: /* read key/value pair */ case 5: /* read key/value pair */
ret = 0; ret = 0;
_SCRUB_KVREAD(ret, &i, data_extents_scrubbed, avail, l,
&p[curr]->p);
_SCRUB_KVREAD(ret, &i, data_extents_scrubbed, avail, l, _SCRUB_KVREAD(ret, &i, data_extents_scrubbed, avail, l,
&p[curr]->p); &p[curr]->p);
_SCRUB_KVREAD(ret, &i, tree_extents_scrubbed, avail, l, _SCRUB_KVREAD(ret, &i, tree_extents_scrubbed, avail, l,