Subject: Re: [PATCH] netfilter: remove unnecessary assignment in translate_table

From: Simon Horman <[email-masked]>
Date: Tue, 2 Jul 2024 10:28:02 +0100

On Mon, Jul 01, 2024 at 07:53:02PM +0800, Liu Jing wrote:
> in translate_table, the initialized value of 'ret' is unused,
> because it will be assigned in the rear. thus remove it.
> 
> Signed-off-by: Liu Jing <[email-masked]>

Thanks,

I agree that ret is always set before it is used in translate_table(),
and thus the initialisation to 0 accompanying the variable declaration
is unnecessary.

Reviewed-by: Simon Horman <[email-masked]>