summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorWang Liang <wangliang74@huawei.com>2025-10-25 12:26:37 +0300
committerJakub Kicinski <kuba@kernel.org>2025-10-30 03:05:30 +0300
commitf58abec23da51f03ffe25f9464f2ce2d1a2a592a (patch)
tree1892b144a5e19b71c7b8b4561854f30d11331437 /include/linux
parenta8abe8e210c175b1d5a7e53df069e107b65c13cb (diff)
downloadlinux-f58abec23da51f03ffe25f9464f2ce2d1a2a592a.tar.xz
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 'include/linux')
0 files changed, 0 insertions, 0 deletions