]> git.baikalelectronics.ru Git - kernel.git/commit
net: socket: remove register_gifconf
authorArnd Bergmann <arnd@arndb.de>
Thu, 22 Jul 2021 14:29:01 +0000 (16:29 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 23 Jul 2021 13:20:25 +0000 (14:20 +0100)
commitd379961b40bcf4f0a604dbec8cf77fa6f8d3f6b5
tree219bb942c3d5d9a0a74dca786cd37a09098b3be4
parent17946dfce8f42145250dc352b48f723e16323e39
net: socket: remove register_gifconf

Since dynamic registration of the gifconf() helper is only used for
IPv4, and this can not be in a loadable module, this can be simplified
noticeably by turning it into a direct function call as a preparation
for cleaning up the compat handling.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/inetdevice.h
include/linux/netdevice.h
net/core/dev_ioctl.c
net/ipv4/devinet.c