Messages in this thread | | | Subject | Re: [PATCH] fs: btrfs: extent_map: Change return type of unpin_extent_cache | From | Nikolay Borisov <> | Date | Tue, 2 Jul 2019 08:39:41 +0300 |
| |
On 2.07.19 г. 6:10 ч., Hariprasad Kelam wrote: > As unpin_extent_cache never fails and Caller does not expect return > value we can change return value from int to void. > > Issue identified with coccicheck > fs/btrfs/extent_map.c:284:5-8: Unneeded variable: "ret". Return "0" on > line 316 > > Signed-off-by: Hariprasad Kelam <hariprasad.kelam@gmail.com>
Reviewed-by: Nikolay Borisov <nborisov@suse.com>
| |