Re: [PATCH net-next] ipv6: sit: remove redundant ret = 0 assignment
From: Yue Haibing
Date: Tue Apr 07 2026 - 21:27:11 EST
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