commit | 8928aa6a007d0a58f500b79812ea8147ec477090 | [log] [tgz] |
---|---|---|
author | Li RongQing <lirongqing@baidu.com> | Thu Jun 13 19:45:24 2019 +0800 |
committer | Steffen Klassert <steffen.klassert@secunet.com> | Fri Jun 14 08:31:32 2019 +0200 |
tree | 69014cd7e5c7771fa40755a49395e0e588e39cd5 | |
parent | 1be451d993170d6933c8aa5d80585595f149805f [diff] |
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>