]> git.itanic.dy.fi Git - linux-stable/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)
commitb0e99d03778b2418aec20db99d97d19d25d198b6
tree219bb942c3d5d9a0a74dca786cd37a09098b3be4
parent709566d79209af9255c7c201d9ffdd9039fa35ab
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