Re: [PATCH net-next] rsi: Slightly simplify rsi_set_channel()

From: Simon Horman
Date: Mon Mar 20 2023 - 15:10:44 EST


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@xxxxxxxxxx>

Reviewed-by: Simon Horman <simon.horman@xxxxxxxxxxxx>