dm writecache: return void from functions
authorMikulas Patocka <mpatocka@redhat.com>
Mon, 11 Jul 2022 20:30:27 +0000 (16:30 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 Aug 2022 12:23:13 +0000 (14:23 +0200)
commit880c4513eb3360d3ee86556331d9645d87ad2cbb
tree71fd8b7b6f1504e54db9324ef845b3ac76d6990c
parent764b8892d7da9ea18544e1bd8c15cfe10815f409
dm writecache: return void from functions

[ Upstream commit 9bc0c92e4b82adb017026dbb2aa816b1ac2bef31 ]

The functions writecache_map_remap_origin and writecache_bio_copy_ssd
only return a single value, thus they can be made to return void.

This helps simplify the following IO accounting changes.

Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/md/dm-writecache.c