xfrm: remove empty xfrmi_init_net
authorLi RongQing <lirongqing@baidu.com>
Thu, 13 Jun 2019 11:45:24 +0000 (19:45 +0800)
committerSteffen Klassert <steffen.klassert@secunet.com>
Fri, 14 Jun 2019 06:31:32 +0000 (08:31 +0200)
commit8928aa6a007d0a58f500b79812ea8147ec477090
tree69014cd7e5c7771fa40755a49395e0e588e39cd5
parent1be451d993170d6933c8aa5d80585595f149805f
xfrm: remove empty xfrmi_init_net

Pointer members of an object with static storage duration, if not
explicitly initialized, will be initialized to a NULL pointer. The
net namespace API checks if this pointer is not NULL before using it,
it are safe to remove the function.

Signed-off-by: Li RongQing <lirongqing@baidu.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
net/xfrm/xfrm_interface.c