[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <168027395743.32751.10963485072704404337.kvalo@kernel.org>
Date: Fri, 31 Mar 2023 14:45:59 +0000 (UTC)
From: Kalle Valo <kvalo@...nel.org>
To: Christophe JAILLET <christophe.jaillet@...adoo.fr>
Cc: amitkarwar@...il.com, siva8118@...il.com, davem@...emloft.net,
edumazet@...gle.com, kuba@...nel.org, pabeni@...hat.com,
linux-wireless@...r.kernel.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, kernel-janitors@...r.kernel.org,
Christophe JAILLET <christophe.jaillet@...adoo.fr>
Subject: Re: [net-next] wifi: rsi: Slightly simplify rsi_set_channel()
Christophe JAILLET <christophe.jaillet@...adoo.fr> wrote:
> There is no point in allocating 'skb' and then freeing it if !channel.
>
> Make the sanity check first to slightly simplify the code.
>
> Signed-off-by: Christophe JAILLET <christophe.jaillet@...adoo.fr>
> Reviewed-by: Simon Horman <simon.horman@...igine.com>
Patch applied to wireless-next.git, thanks.
8de7838acfa3 wifi: rsi: Slightly simplify rsi_set_channel()
--
https://patchwork.kernel.org/project/linux-wireless/patch/29bf0296bd939e3f6952272bfdcc73b22edbc374.1679328588.git.christophe.jaillet@wanadoo.fr/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
Powered by blists - more mailing lists