+1
−2
+1
−2
+2
−2
+5
−8
Loading
In many places we have pattern:
ret = ...;
return ret;
This can be simplified to a direct return, removing 'ret' if not
otherwise needed. The places in self tests are not converted so we can
add more test cases without changing surrounding code
(extent-map-tests.c:test_case_4()).
Signed-off-by:
David Sterba <dsterba@suse.com>