Messages in this thread | | | Date | Tue, 15 Nov 2022 14:11:21 +0100 | From | David Sterba <> | Subject | Re: [PATCH linux-next] btrfs: remove redundant ret variable in delete_v1_space_cache |
| |
On Tue, Nov 15, 2022 at 09:14:56AM +0800, guo.ziliang@zte.com.cn wrote: > From: guo ziliang <guo.ziliang@zte.com.cn> > Return value from delete_block_group_cache() directly instead of taking > this in another redundant variable.
Have you found this manually or by some tool? I did a quick grep and found 14 other cases that could be simplified like that. I'm not sure if we really need it, but if you fix more than one case then lets do it.
| |