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 Feb 2022 15:36:03 +0000 (16:36 +0100)
commit9dbd1c0df6aecb731827cf84b238b4b86c4c6d0a
tree37b4ac5db7784294e1869a98da2166c90857bcd2
parent1ef88557e5a2dd84d65a1b285ca4274fa509f034
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