Skip to content
Commit e493e8f9 authored by Anand Jain's avatar Anand Jain Committed by David Sterba
Browse files

btrfs: remove unnecessary tmp variable in btrfs_assign_next_active_device()



We can check the argument value directly, no need for the temporary
variable.

Reviewed-by: default avatarNikolay Borisov <nborisov@suse.com>
Signed-off-by: default avatarAnand Jain <anand.jain@oracle.com>
Reviewed-by: default avatarDavid Sterba <dsterba@suse.com>
Signed-off-by: default avatarDavid Sterba <dsterba@suse.com>
parent 1888709d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment