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

From: Jakub Kicinski

Date: Mon Apr 06 2026 - 21:43:39 EST


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.