]> git.baikalelectronics.ru Git - 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)
commitc8c2a437555fb209c09e8884f31b65b28465ba0d
treec2295896c35ebef4d8cc13db5ba63005bbd3d5b2
parent2498e2f6370e8c5a8128d10b638f7122dd59cc1b
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