diff options
| author | Zheng Yongjun <zhengyongjun3@huawei.com> | 2020-12-22 16:51:13 +0300 |
|---|---|---|
| committer | Kalle Valo <kvalo@codeaurora.org> | 2021-01-14 20:32:03 +0300 |
| commit | 73c655410181b7fc9a5ff321a5021a684ada99e7 (patch) | |
| tree | 37543bac5eef043fd294719a7ec1c1d80e901a07 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 0924ba9fbc26860b4b57b424e402d4b16d40cc91 (diff) | |
| download | linux-73c655410181b7fc9a5ff321a5021a684ada99e7.tar.xz | |
brcmfmac: Delete useless kfree code
A null pointer will be passed to a kfree() call after a kzalloc() call failed.
This code is useless. Thus delete the extra function call.
A goto statement is also no longer needed. Thus adjust an if branch.
Signed-off-by: Zheng Yongjun <zhengyongjun3@huawei.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20201222135113.20680-1-zhengyongjun3@huawei.com
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
