ipv{4,6}/udp{,lite}: simplify proc registration
authorChristoph Hellwig <hch@lst.de>
Tue, 10 Apr 2018 19:31:50 +0000 (21:31 +0200)
committerChristoph Hellwig <hch@lst.de>
Wed, 16 May 2018 05:23:35 +0000 (07:23 +0200)
commita3d2599b24462c762719a70bc4d2ec8e8cb52fcf
treea3b5ae4182589c9ee914d4298366377112cb260b
parent3f3942aca6da351a12543aa776467791b63b3a78
ipv{4,6}/udp{,lite}: simplify proc registration

Remove a couple indirections to make the code look like most other
protocols.

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