diff options
| author | zhong jiang <zhongjiang@huawei.com> | 2018-08-13 14:06:08 +0800 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2018-10-15 17:23:26 +0200 |
| commit | f8b00e0f06e54efed0dc919518841ad0dd2199cd (patch) | |
| tree | a45ba82fc41faec9f269d9c3f4d83820f0999adc /tools/perf/scripts/python | |
| parent | Btrfs: do not unnecessarily pass write_lock_level when processing leaf (diff) | |
| download | linux-f8b00e0f06e54efed0dc919518841ad0dd2199cd.tar.gz linux-f8b00e0f06e54efed0dc919518841ad0dd2199cd.zip | |
btrfs: remove unneeded NULL checks before kfree
Kfree has taken the NULL pointer into account. So remove the check
before kfree.
The issue is detected with the help of Coccinelle.
Signed-off-by: zhong jiang <zhongjiang@huawei.com>
Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
