[UDP]: ipv6 style cleanup
Fix whitespace around keywords. Eliminate unnecessary ()'s on return statements. Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
6516c65573
commit
add459aa1a
@@ -473,14 +473,14 @@ int __udp6_lib_rcv(struct sk_buff **pskb, struct hlist_head udptable[],
|
||||
icmpv6_send(skb, ICMPV6_DEST_UNREACH, ICMPV6_PORT_UNREACH, 0, dev);
|
||||
|
||||
kfree_skb(skb);
|
||||
return(0);
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* deliver */
|
||||
|
||||
udpv6_queue_rcv_skb(sk, skb);
|
||||
sock_put(sk);
|
||||
return(0);
|
||||
return 0;
|
||||
|
||||
short_packet:
|
||||
LIMIT_NETDEBUG(KERN_DEBUG "UDP%sv6: short packet: %d/%u\n",
|
||||
@@ -490,7 +490,7 @@ short_packet:
|
||||
discard:
|
||||
UDP6_INC_STATS_BH(UDP_MIB_INERRORS, proto == IPPROTO_UDPLITE);
|
||||
kfree_skb(skb);
|
||||
return(0);
|
||||
return 0;
|
||||
}
|
||||
|
||||
static __inline__ int udpv6_rcv(struct sk_buff **pskb)
|
||||
|
Reference in New Issue
Block a user