net/kcm: simplify proc registration
authorChristoph Hellwig <hch@lst.de>
Tue, 10 Apr 2018 17:53:58 +0000 (19:53 +0200)
committerChristoph Hellwig <hch@lst.de>
Wed, 16 May 2018 05:24:30 +0000 (07:24 +0200)
commit2ad17b1950cb823f8dc820da801c4e5d7eef8113
treea5f46c3917924502763d7ba307732b5f412aae96
parentad08978ab41c38edb9c162ba5e3ebc30f69191d6
net/kcm: simplify proc registration

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

Signed-off-by: Christoph Hellwig <hch@lst.de>
net/kcm/kcmproc.c