Commit a0af493
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>1 parent 66691c6 commit a0af493
1 file changed
Lines changed: 1 addition & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7190 | 7190 | | |
7191 | 7191 | | |
7192 | 7192 | | |
7193 | | - | |
7194 | | - | |
7195 | 7193 | | |
7196 | 7194 | | |
7197 | 7195 | | |
7198 | 7196 | | |
7199 | | - | |
| 7197 | + | |
7200 | 7198 | | |
7201 | 7199 | | |
7202 | 7200 | | |
| |||
0 commit comments