summaryrefslogtreecommitdiffstats
path: root/net/ipv6/inet6_hashtables.c
diff options
context:
space:
mode:
authorKonstantin Khlebnikov <khlebnikov@yandex-team.ru>2016-04-18 14:41:10 +0300
committerDavid S. Miller <davem@davemloft.net>2016-04-19 20:13:19 -0400
commit607ea7cda6315be0ad8be2f98bc9de6f2d656ae6 (patch)
treef3c5db6ef9c984c8b6a7cf9e883b2ec8370cd5d7 /net/ipv6/inet6_hashtables.c
parent35c5845957c7982dac1f525ff3412f8acf0a0385 (diff)
downloadlinux-607ea7cda6315be0ad8be2f98bc9de6f2d656ae6.tar.bz2
net/ipv6/addrconf: simplify sysctl registration
Struct ctl_table_header holds pointer to sysctl table which could be used for freeing it after unregistration. IPv4 sysctls already use that. Remove redundant NULL assignment: ndev allocated using kzalloc. This also saves some bytes: sysctl table could be shorter than DEVCONF_MAX+1 if some options are disable in config. Signed-off-by: Konstantin Khlebnikov <khlebnikov@yandex-team.ru> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/inet6_hashtables.c')
0 files changed, 0 insertions, 0 deletions