diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2012-04-19 13:38:03 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-04-20 21:22:29 -0400 |
commit | 8f40a1f9821a4ccb2a237f14d4eb6d6e0e665c14 (patch) | |
tree | 7b60e0ecca749ae0ef826e335621e194f93f9436 /net/decnet | |
parent | 6dceb03687124b6ee392eb1d9921bd463eab3190 (diff) | |
download | talos-obmc-linux-8f40a1f9821a4ccb2a237f14d4eb6d6e0e665c14.tar.gz talos-obmc-linux-8f40a1f9821a4ccb2a237f14d4eb6d6e0e665c14.zip |
net neighbour: 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.
We no longer need to malloc dev_name to keep it alive the length of our
sysctl register instead we can use a small temporary buffer on the
stack.
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>
Diffstat (limited to 'net/decnet')
0 files changed, 0 insertions, 0 deletions