btrfs: Remove redundant mirror_num arg
authorNikolay Borisov <nborisov@suse.com>
Tue, 24 Oct 2017 08:50:39 +0000 (11:50 +0300)
committerDavid Sterba <dsterba@suse.com>
Mon, 22 Jan 2018 15:08:11 +0000 (16:08 +0100)
commitd3fac6ba7dccc54f52087bb9d7b9be27aa6fa622
tree0a98b11318492f246427c57d34c80e138a14fbbd
parentac244ef1da76383842a9a4c3404e35d0669f2e53
btrfs: Remove redundant mirror_num arg

The following callpath is always invoked with mirror_num set to 0, so
let's remove it as an argument and directly pass 0 to __do_redpage. No
functional change.

extent_readpages
  __extent_readpages
    __do_contiguous_readpages
      __do_readpage

Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/extent_io.c