btrfs: remove the submit_extent_page return value
authorChristoph Hellwig <hch@lst.de>
Mon, 27 Feb 2023 15:17:01 +0000 (08:17 -0700)
committerDavid Sterba <dsterba@suse.com>
Mon, 17 Apr 2023 16:01:16 +0000 (18:01 +0200)
commit551733372fda4ca2ed09d5c47dae6ce9f96aab60
tree188b3181e0fec55893e21fc8404f8084533c8930
parentf8ed4852f3a9246a6693c93e8c0cad3645916315
btrfs: remove the submit_extent_page return value

submit_extent_page always returns 0 since commit d5e4377d5051 ("btrfs:
split zone append bios in btrfs_submit_bio").  Change it to a void return
type and remove all the unreachable error handling code in the callers.

Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/extent_io.c