btrfs: remove redundant replace_state init
authorAnand Jain <anand.jain@oracle.com>
Mon, 12 Nov 2018 05:05:15 +0000 (13:05 +0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 17 Dec 2018 13:51:32 +0000 (14:51 +0100)
commitab457246f8a45bbb3e79fd2a9c1044b5ac14ec99
tree889ee42ccb93dcfb1baf31259fc9bfbf7dd963b5
parent6d4cbf790307515dcd91eb2165e36e9b83d0fab6
btrfs: remove redundant replace_state init

dev_replace::replace_state has been set to
BTRFS_DEV_REPLACE_ITEM_STATE_NEVER_STARTED (0) in the same function,
So delete the line which sets replace_state = 0;

Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/dev-replace.c