Zheng Yongjun <zhengyongjun3@xxxxxxxxxx> 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@xxxxxxxxxx> 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@xxxxxxxxxx/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches