Messages in this thread | | | Subject | Re: [PATCH wireless v3 -next] brcmfmac: Delete useless kfree code | From | Kalle Valo <> | Date | Thu, 14 Jan 2021 17:32:18 +0000 (UTC) |
| |
Zheng Yongjun <zhengyongjun3@huawei.com> wrote:
> 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>
Patch applied to wireless-drivers-next.git, thanks.
73c655410181 brcmfmac: Delete useless kfree code
-- https://patchwork.kernel.org/project/linux-wireless/patch/20201222135113.20680-1-zhengyongjun3@huawei.com/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
| |