]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ipv6: sit: remove redundant ret = 0 assignment
authorYue Haibing <yuehaibing@huawei.com>
Wed, 8 Apr 2026 03:20:51 +0000 (11:20 +0800)
committerJakub Kicinski <kuba@kernel.org>
Fri, 10 Apr 2026 03:37:40 +0000 (20:37 -0700)
commit3c6132ccc58e8adf044166728e783f55dc323ef9
tree71c58558049ea6aacebe4be3cabe6c26c2bd63f9
parenta17d3c3d0cb2827eaa87c43e748095e21f8cc1ab
ipv6: sit: remove redundant ret = 0 assignment

The variable ret is assigned a value at all places where it is used;
There is no need to assign a value when it is initially defined.

Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
Link: https://patch.msgid.link/20260408032051.3096449-1-yuehaibing@huawei.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/ipv6/sit.c