]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
neighbour: Remove redundant assignment to err
authorYue Haibing <yuehaibing@huawei.com>
Tue, 24 Jun 2025 01:42:16 +0000 (09:42 +0800)
committerJakub Kicinski <kuba@kernel.org>
Wed, 25 Jun 2025 22:26:03 +0000 (15:26 -0700)
commit9b19b50c8d65e06d4ff7f230855a2a28ac200f35
treed7231e3473a6d2d594a4ea37a52a52f7ad3d8e9f
parentb48d353d24d92dce2ea31aa248e2584980f7c989
neighbour: Remove redundant assignment to err

'err' has been checked against 0 in the if statement.

Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20250624014216.3686659-1-yuehaibing@huawei.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/core/neighbour.c