[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20210208111824.02B72C433ED@smtp.codeaurora.org>
Date: Mon, 8 Feb 2021 11:18:24 +0000 (UTC)
From: Kalle Valo <kvalo@...eaurora.org>
To: samirweng1979 <samirweng1979@....com>
Cc: davem@...emloft.net, kuba@...nel.org,
linux-wireless@...r.kernel.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org,
wengjianfeng <wengjianfeng@...ong.com>
Subject: Re: [PATCH] wl1251: cmd: remove redundant assignment
samirweng1979 <samirweng1979@....com> wrote:
> From: wengjianfeng <wengjianfeng@...ong.com>
>
> -ENOMEM has been used as a return value,it is not necessary to
> assign it, and if kzalloc fail,not need free it,so just return
> -ENOMEM when kzalloc fail.
>
> Signed-off-by: wengjianfeng <wengjianfeng@...ong.com>
Patch applied to wireless-drivers-next.git, thanks.
05d7f3307488 wl1251: cmd: remove redundant assignment
--
https://patchwork.kernel.org/project/linux-wireless/patch/20210203060306.2832-1-samirweng1979@163.com/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
Powered by blists - more mailing lists