ipv{4,6}/ping: simplify proc file creation
authorChristoph Hellwig <hch@lst.de>
Tue, 10 Apr 2018 18:04:20 +0000 (20:04 +0200)
committerChristoph Hellwig <hch@lst.de>
Wed, 16 May 2018 05:23:35 +0000 (07:23 +0200)
commitf455022166b57c8693897334508dfa75d3b62b38
tree36fee3d300e0d74a0d9984d4781f50feaf64d091
parent37d849bb4294e22d5250264e82beaf4dd8a5403c
ipv{4,6}/ping: simplify proc file creation

Remove the pointless ping_seq_afinfo indirection and make the code look
like most other protocols.

Signed-off-by: Christoph Hellwig <hch@lst.de>
include/net/ping.h
net/ipv4/ping.c
net/ipv6/ping.c