diff options
author | David Sterba <dsterba@suse.com> | 2018-06-29 10:56:49 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2018-08-06 13:12:43 +0200 |
commit | 65ad010488a5cc0f123a9924f7ad26a1b3f6a4f6 (patch) | |
tree | 04a1e29c5fc4b97defb72379af61735f5e78ce81 /.cocciconfig | |
parent | d7f663fa3ff906247a979c1115bc92cbabfb19ba (diff) |
btrfs: pass only eb to num_extent_pages
Almost all callers pass the start and len as 2 arguments but this is not
necessary, all the information is provided by the eb. By reordering the
calls to num_extent_pages, we don't need the local variables with
start/len.
Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to '.cocciconfig')
0 files changed, 0 insertions, 0 deletions