btrfs: remove no longer used counter when reading data page
authorFilipe Manana <fdmanana@suse.com>
Thu, 3 Feb 2022 15:36:44 +0000 (15:36 +0000)
committerDavid Sterba <dsterba@suse.com>
Mon, 14 Mar 2022 12:13:50 +0000 (13:13 +0100)
commitad3fc7946b1829213bbdbb2b9ad0d124b31ae4a7
tree44c40994c36b88e93902ebb04bc02d3e099cf0ad
parentbbf0ea7ea3855b35a2ab0b8d0000ce06cc58e4bf
btrfs: remove no longer used counter when reading data page

After commit 92082d40976ed0 ("btrfs: integrate page status update for
data read path into begin/end_page_read"), the 'nr' counter at
btrfs_do_readpage() is no longer used, we increment it but we never
read from it. So just remove it.

Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Filipe Manana <fdmanana@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/extent_io.c