diff options
author | Zheng Yongjun <zhengyongjun3@huawei.com> | 2020-12-22 21:51:13 +0800 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2021-01-14 19:32:03 +0200 |
commit | 73c655410181b7fc9a5ff321a5021a684ada99e7 (patch) | |
tree | 37543bac5eef043fd294719a7ec1c1d80e901a07 /drivers/w1/w1_netlink.h | |
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 <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 'drivers/w1/w1_netlink.h')
0 files changed, 0 insertions, 0 deletions