diff options
| author | Zheng Yongjun <[email protected]> | 2020-12-22 21:51:13 +0800 |
|---|---|---|
| committer | Kalle Valo <[email protected]> | 2021-01-14 19:32:03 +0200 |
| commit | 73c655410181b7fc9a5ff321a5021a684ada99e7 (patch) | |
| tree | 37543bac5eef043fd294719a7ec1c1d80e901a07 /tools/perf/scripts/python | |
| parent | 0924ba9fbc26860b4b57b424e402d4b16d40cc91 (diff) | |
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 <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions