From: Simon Horman <simon.horman@corigine•com>
To: Christophe JAILLET <christophe.jaillet@wanadoo•fr>
Cc: amitkarwar@gmail•com, siva8118@gmail•com, kvalo@kernel•org,
davem@davemloft•net, edumazet@google•com, kuba@kernel•org,
pabeni@redhat•com, linux-wireless@vger•kernel.org,
netdev@vger•kernel.org, linux-kernel@vger•kernel.org,
kernel-janitors@vger•kernel.org
Subject: Re: [PATCH net-next] rsi: Slightly simplify rsi_set_channel()
Date: Mon, 20 Mar 2023 20:02:16 +0100 [thread overview]
Message-ID: <ZBituEyt7BZDDVlw@corigine.com> (raw)
In-Reply-To: <29bf0296bd939e3f6952272bfdcc73b22edbc374.1679328588.git.christophe.jaillet@wanadoo.fr>
On Mon, Mar 20, 2023 at 05:13:42PM +0100, Christophe JAILLET 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>
next prev parent reply other threads:[~2023-03-20 19:10 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-20 16:13 [PATCH net-next] rsi: Slightly simplify rsi_set_channel() Christophe JAILLET
2023-03-20 19:02 ` Simon Horman [this message]
2023-03-31 14:45 ` [net-next] wifi: " Kalle Valo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ZBituEyt7BZDDVlw@corigine.com \
--to=simon.horman@corigine$(echo .)com \
--cc=amitkarwar@gmail$(echo .)com \
--cc=christophe.jaillet@wanadoo$(echo .)fr \
--cc=davem@davemloft$(echo .)net \
--cc=edumazet@google$(echo .)com \
--cc=kernel-janitors@vger$(echo .)kernel.org \
--cc=kuba@kernel$(echo .)org \
--cc=kvalo@kernel$(echo .)org \
--cc=linux-kernel@vger$(echo .)kernel.org \
--cc=linux-wireless@vger$(echo .)kernel.org \
--cc=netdev@vger$(echo .)kernel.org \
--cc=pabeni@redhat$(echo .)com \
--cc=siva8118@gmail$(echo .)com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox