net decnet: Convert to use register_net_sysctl
authorEric W. Biederman <ebiederm@xmission.com>
Thu, 19 Apr 2012 13:40:37 +0000 (13:40 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 21 Apr 2012 01:22:29 +0000 (21:22 -0400)
commit9bdcc88fa03a09c1f0478c0d7443d0aba7872210
tree8483bc09e49e40f0469be1cbd36e14751f5376dd
parent8f40a1f9821a4ccb2a237f14d4eb6d6e0e665c14
net decnet: Convert to use register_net_sysctl

Using an ascii path to register_net_sysctl as opposed to the slightly
awkward ctl_path allows for much simpler code.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Acked-by: Pavel Emelyanov <xemul@parallels.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/decnet/dn_dev.c
net/decnet/sysctl_net_decnet.c