Re: [PATCH net-next] ipv6: sit: remove redundant ret = 0 assignment

Yue Haibing
2026-04-08T01:26:38Z

On 2026/4/7 9:43, Jakub Kicinski wrote:
> On Fri, 3 Apr 2026 16:44:02 +0800 Yue Haibing wrote:
>> The variable ret is initialized to 0 when it is defined
>> and is not modified before copy_to_user().
>
> Makes more sense to remove the init during definition IMO.

OK，will do this in v2