btrfs: send: cleanup unneeded return variable in changed_verity()
authorChristian Heusel <christian@heusel.eu>
Thu, 10 Oct 2024 13:25:25 +0000 (15:25 +0200)
committerDavid Sterba <dsterba@suse.com>
Fri, 11 Oct 2024 17:54:58 +0000 (19:54 +0200)
commita0af4936e4a89e0006c73d5f9e969a613c99a655
treead13ef2d4d2d0c4e9cd47c97a129b8528e44a29e
parent66691c6e2f18d2aa4b22ffb624b9bdc97e9979e4
btrfs: send: cleanup unneeded return variable in changed_verity()

As all changed_* functions need to return something, just return 0
directly here, as the verity status is passed via the context.

Reported by LKP: fs/btrfs/send.c:6877:5-8: Unneeded variable: "ret". Return "0" on line 6883

Reported-by: kernel test robot <lkp@intel.com>
Link: https://lore.kernel.org/oe-kbuild-all/202410092305.WbyqspH8-lkp@intel.com/
Signed-off-by: Christian Heusel <christian@heusel.eu>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/send.c