summaryrefslogtreecommitdiff
path: root/rust/kernel/task.rs
diff options
context:
space:
mode:
authorWang Liang <wangliang74@huawei.com>2025-10-25 17:26:37 +0800
committerJakub Kicinski <kuba@kernel.org>2025-10-29 17:05:30 -0700
commitf58abec23da51f03ffe25f9464f2ce2d1a2a592a (patch)
tree1892b144a5e19b71c7b8b4561854f30d11331437 /rust/kernel/task.rs
parenta8abe8e210c175b1d5a7e53df069e107b65c13cb (diff)
net: ipv4: Remove extern udp_v4_early_demux()/tcp_v4_early_demux() in .c files
Function udp_v4_early_demux() was already declared in 'include/net/udp.h', no need to keep the extern in 'ip_input.c', which may produce the following checkpatch warning: WARNING: externs should be avoided in .c files #45: FILE: net/ipv4/ip_input.c:322: +enum skb_drop_reason udp_v4_early_demux(struct sk_buff *skb); Replace it by including 'net/udp.h'. Do the same for tcp_v4_early_demux(). Signed-off-by: Wang Liang <wangliang74@huawei.com> Link: https://patch.msgid.link/20251025092637.1020960-1-wangliang74@huawei.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'rust/kernel/task.rs')
0 files changed, 0 insertions, 0 deletions