]> git.baikalelectronics.ru Git - kernel.git/commit
net: socket: use pr_info_once to tip the obsolete usage of PF_PACKET
authorliping.zhang <liping.zhang@spreadtrum.com>
Fri, 11 Mar 2016 15:08:36 +0000 (23:08 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 14 Mar 2016 02:37:50 +0000 (22:37 -0400)
commitbfe73d8a9892542828de1979fb0229a6d4e713dc
tree392f58010c2644c944a65807baf97da0064e40ba
parent490e08cce8db7c6088fe2d9472878999f0fb130a
net: socket: use pr_info_once to tip the obsolete usage of PF_PACKET

There is no need to use the static variable here, pr_info_once is more
concise.

Signed-off-by: Liping Zhang <liping.zhang@spreadtrum.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/socket.c