]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
net: ping: make ping_v6_sendmsg static
authorHaishuang Yan <yanhaishuang@cmss.chinamobile.com>
Wed, 23 Mar 2016 09:59:51 +0000 (17:59 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 24 Mar 2016 02:09:58 +0000 (22:09 -0400)
commit6579a023a881e0592ce9a98fdfcbcc0a2a096aa7
treec2295896c35ebef4d8cc13db5ba63005bbd3d5b2
parent3f735131d9c2523eb54a6c5099fa8c60a4292d48
net: ping: make ping_v6_sendmsg static

As ping_v6_sendmsg is used only in this file,
making it static

The body of "pingv6_prot" and "pingv6_protosw" were
moved at the middle of the file, to avoid having to
declare some static prototypes.

Signed-off-by: Haishuang Yan <yanhaishuang@cmss.chinamobile.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/ping.h
net/ipv6/ping.c