fs: clean up after mandatory file locking support removal
authorLukas Bulwahn <lukas.bulwahn@gmail.com>
Tue, 24 Aug 2021 11:12:59 +0000 (13:12 +0200)
committerJeff Layton <jlayton@kernel.org>
Tue, 24 Aug 2021 11:52:45 +0000 (07:52 -0400)
commit2949e8427af3bb74a1e26354cb68c1700663c827
treef346f4ccd3c06204147845f4a54c5127507dc967
parentf7e33bdbd6d1bdf9c3df8bba5abcf3399f957ac3
fs: clean up after mandatory file locking support removal

Commit 3efee0567b4a ("fs: remove mandatory file locking support") removes
some operations in functions rw_verify_area().

As these functions are now simplified, do some syntactic clean-up as
follow-up to the removal as well, which was pointed out by compiler
warnings and static analysis.

No functional change.

Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
Signed-off-by: Jeff Layton <jlayton@kernel.org>
fs/read_write.c