[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20210114173218.EAEB1C433C6@smtp.codeaurora.org>
Date: Thu, 14 Jan 2021 17:32:18 +0000 (UTC)
From: Kalle Valo <kvalo@...eaurora.org>
To: Zheng Yongjun <zhengyongjun3@...wei.com>
Cc: <davem@...emloft.net>, <kuba@...nel.org>,
<linux-wireless@...r.kernel.org>,
<brcm80211-dev-list.pdl@...adcom.com>,
<SHA-cyfmac-dev-list@...ineon.com>, <netdev@...r.kernel.org>,
<linux-kernel@...r.kernel.org>, <Markus.Elfring@....de>,
Zheng Yongjun <zhengyongjun3@...wei.com>
Subject: Re: [PATCH wireless v3 -next] brcmfmac: Delete useless kfree code
Zheng Yongjun <zhengyongjun3@...wei.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@...wei.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
Powered by blists - more mailing lists