]> 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)
commit8e86a9c8c9d1a86ff2ee1f7306fa0a999bf3277b
tree219bb942c3d5d9a0a74dca786cd37a09098b3be4
parent26acac665337da46326dd503f3b3d0e2e2f41c39
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