Messages in this thread | | | Subject | Re: [net-next] wifi: rsi: Slightly simplify rsi_set_channel() | From | Kalle Valo <> | Date | Fri, 31 Mar 2023 14:45:59 +0000 (UTC) |
| |
Christophe JAILLET <christophe.jaillet@wanadoo.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@wanadoo.fr> > Reviewed-by: Simon Horman <simon.horman@corigine.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
| |