Re: [PATCH] xfrm: remove empty xfrmi_init_net

2019-06-17 Thread Steffen Klassert
On Thu, Jun 13, 2019 at 07:45:24PM +0800, Li RongQing wrote: > 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 f

[PATCH] xfrm: remove empty xfrmi_init_net

2019-06-13 Thread Li RongQing
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 --- net/xfrm/xfrm_interface.c