Commit 8bc0034c authored by Sheng Yong's avatar Sheng Yong Committed by David S. Miller

net: remove extra newlines

Signed-off-by: default avatarSheng Yong <shengyong1@huawei.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent ee90b812
...@@ -47,8 +47,6 @@ ...@@ -47,8 +47,6 @@
#define NEXTHDR_MAX 255 #define NEXTHDR_MAX 255
#define IPV6_DEFAULT_HOPLIMIT 64 #define IPV6_DEFAULT_HOPLIMIT 64
#define IPV6_DEFAULT_MCASTHOPS 1 #define IPV6_DEFAULT_MCASTHOPS 1
......
...@@ -3752,7 +3752,6 @@ void skb_complete_wifi_ack(struct sk_buff *skb, bool acked) ...@@ -3752,7 +3752,6 @@ void skb_complete_wifi_ack(struct sk_buff *skb, bool acked)
} }
EXPORT_SYMBOL_GPL(skb_complete_wifi_ack); EXPORT_SYMBOL_GPL(skb_complete_wifi_ack);
/** /**
* skb_partial_csum_set - set up and verify partial csum values for packet * skb_partial_csum_set - set up and verify partial csum values for packet
* @skb: the skb to set * @skb: the skb to set
......
...@@ -455,7 +455,6 @@ int ip_queue_xmit(struct sock *sk, struct sk_buff *skb, struct flowi *fl) ...@@ -455,7 +455,6 @@ int ip_queue_xmit(struct sock *sk, struct sk_buff *skb, struct flowi *fl)
} }
EXPORT_SYMBOL(ip_queue_xmit); EXPORT_SYMBOL(ip_queue_xmit);
static void ip_copy_metadata(struct sk_buff *to, struct sk_buff *from) static void ip_copy_metadata(struct sk_buff *to, struct sk_buff *from)
{ {
to->pkt_type = from->pkt_type; to->pkt_type = from->pkt_type;
...@@ -820,7 +819,6 @@ static inline int ip_ufo_append_data(struct sock *sk, ...@@ -820,7 +819,6 @@ static inline int ip_ufo_append_data(struct sock *sk,
skb->csum = 0; skb->csum = 0;
__skb_queue_tail(queue, skb); __skb_queue_tail(queue, skb);
} else if (skb_is_gso(skb)) { } else if (skb_is_gso(skb)) {
goto append; goto append;
...@@ -1218,7 +1216,6 @@ ssize_t ip_append_page(struct sock *sk, struct flowi4 *fl4, struct page *page, ...@@ -1218,7 +1216,6 @@ ssize_t ip_append_page(struct sock *sk, struct flowi4 *fl4, struct page *page,
skb_shinfo(skb)->gso_type = SKB_GSO_UDP; skb_shinfo(skb)->gso_type = SKB_GSO_UDP;
} }
while (size > 0) { while (size > 0) {
int i; int i;
......
...@@ -433,7 +433,6 @@ static u32 udp_ehashfn(const struct net *net, const __be32 laddr, ...@@ -433,7 +433,6 @@ static u32 udp_ehashfn(const struct net *net, const __be32 laddr,
udp_ehash_secret + net_hash_mix(net)); udp_ehash_secret + net_hash_mix(net));
} }
/* called with read_rcu_lock() */ /* called with read_rcu_lock() */
static struct sock *udp4_lib_lookup2(struct net *net, static struct sock *udp4_lib_lookup2(struct net *net,
__be32 saddr, __be16 sport, __be32 saddr, __be16 sport,
...@@ -1171,7 +1170,6 @@ int udp_sendpage(struct sock *sk, struct page *page, int offset, ...@@ -1171,7 +1170,6 @@ int udp_sendpage(struct sock *sk, struct page *page, int offset,
return ret; return ret;
} }
/** /**
* first_packet_length - return length of first packet in receive queue * first_packet_length - return length of first packet in receive queue
* @sk: socket * @sk: socket
...@@ -1355,7 +1353,6 @@ int udp_recvmsg(struct sock *sk, struct msghdr *msg, size_t len, int noblock, ...@@ -1355,7 +1353,6 @@ int udp_recvmsg(struct sock *sk, struct msghdr *msg, size_t len, int noblock,
goto try_again; goto try_again;
} }
int udp_disconnect(struct sock *sk, int flags) int udp_disconnect(struct sock *sk, int flags)
{ {
struct inet_sock *inet = inet_sk(sk); struct inet_sock *inet = inet_sk(sk);
...@@ -1579,7 +1576,6 @@ int udp_queue_rcv_skb(struct sock *sk, struct sk_buff *skb) ...@@ -1579,7 +1576,6 @@ int udp_queue_rcv_skb(struct sock *sk, struct sk_buff *skb)
udp_lib_checksum_complete(skb)) udp_lib_checksum_complete(skb))
goto csum_error; goto csum_error;
if (sk_rcvqueues_full(sk, sk->sk_rcvbuf)) { if (sk_rcvqueues_full(sk, sk->sk_rcvbuf)) {
UDP_INC_STATS_BH(sock_net(sk), UDP_MIB_RCVBUFERRORS, UDP_INC_STATS_BH(sock_net(sk), UDP_MIB_RCVBUFERRORS,
is_udplite); is_udplite);
...@@ -1609,7 +1605,6 @@ int udp_queue_rcv_skb(struct sock *sk, struct sk_buff *skb) ...@@ -1609,7 +1605,6 @@ int udp_queue_rcv_skb(struct sock *sk, struct sk_buff *skb)
return -1; return -1;
} }
static void flush_stack(struct sock **stack, unsigned int count, static void flush_stack(struct sock **stack, unsigned int count,
struct sk_buff *skb, unsigned int final) struct sk_buff *skb, unsigned int final)
{ {
......
...@@ -120,7 +120,6 @@ static u32 udp6_portaddr_hash(const struct net *net, ...@@ -120,7 +120,6 @@ static u32 udp6_portaddr_hash(const struct net *net,
return hash ^ port; return hash ^ port;
} }
int udp_v6_get_port(struct sock *sk, unsigned short snum) int udp_v6_get_port(struct sock *sk, unsigned short snum)
{ {
unsigned int hash2_nulladdr = unsigned int hash2_nulladdr =
...@@ -385,7 +384,6 @@ struct sock *udp6_lib_lookup(struct net *net, const struct in6_addr *saddr, __be ...@@ -385,7 +384,6 @@ struct sock *udp6_lib_lookup(struct net *net, const struct in6_addr *saddr, __be
} }
EXPORT_SYMBOL_GPL(udp6_lib_lookup); EXPORT_SYMBOL_GPL(udp6_lib_lookup);
/* /*
* This should be easy, if there is something there we * This should be easy, if there is something there we
* return it, otherwise we block. * return it, otherwise we block.
...@@ -1555,7 +1553,6 @@ static struct inet_protosw udpv6_protosw = { ...@@ -1555,7 +1553,6 @@ static struct inet_protosw udpv6_protosw = {
.flags = INET_PROTOSW_PERMANENT, .flags = INET_PROTOSW_PERMANENT,
}; };
int __init udpv6_init(void) int __init udpv6_init(void)
{ {
int ret; int ret;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment