netpoll: Eliminate redundant assignment
authorBreno Leitao <leitao@debian.org>
Wed, 19 Mar 2025 17:02:44 +0000 (10:02 -0700)
committerJakub Kicinski <kuba@kernel.org>
Mon, 24 Mar 2025 20:42:53 +0000 (13:42 -0700)
commitf1fce08e63fe1a2a8b8106b93b7244a39830edae
treec6187c751bb9f4cebb1261638f83642119e331dd
parent53cd6820f5a05dd7f982f7da85af7d185b3e4992
netpoll: Eliminate redundant assignment

The assignment of zero to udph->check is unnecessary as it is
immediately overwritten in the subsequent line. Remove the redundant
assignment.

Signed-off-by: Breno Leitao <leitao@debian.org>
Reviewed-by: Joe Damato <jdamato@fastly.com>
Link: https://patch.msgid.link/20250319-netpoll_nit-v1-1-a7faac5cbd92@debian.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/core/netpoll.c