summaryrefslogtreecommitdiffstats
path: root/net/ipv4/udplite.c
diff options
context:
space:
mode:
authorYOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>2008-01-22 09:05:31 +0100
committerDavid S. Miller <davem@davemloft.net>2008-01-29 00:10:24 +0100
commitfc80be87dca8968fa087aae81544ba3f86afdd50 (patch)
tree60f62aeb95c5e8fbd1eb956166b0e53c058e553a /net/ipv4/udplite.c
parent[BNX2]: Fix driver phy_flags name space. (diff)
downloadlinux-fc80be87dca8968fa087aae81544ba3f86afdd50.tar.xz
linux-fc80be87dca8968fa087aae81544ba3f86afdd50.zip
[IPV4] UDP,UDPLITE: Sparse: {__udp4_lib,udp,udplite}_err() are of void.
Fix following sparse warnings: | net/ipv4/udp.c:421:2: warning: returning void-valued expression | net/ipv4/udplite.c:38:2: warning: returning void-valued expression Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Diffstat (limited to '')
-rw-r--r--net/ipv4/udplite.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/udplite.c b/net/ipv4/udplite.c
index f5baeb3e8b85..001b881ca36f 100644
--- a/net/ipv4/udplite.c
+++ b/net/ipv4/udplite.c
@@ -35,7 +35,7 @@ static int udplite_rcv(struct sk_buff *skb)
static void udplite_err(struct sk_buff *skb, u32 info)
{
- return __udp4_lib_err(skb, info, udplite_hash);
+ __udp4_lib_err(skb, info, udplite_hash);
}
static struct net_protocol udplite_protocol = {