Re: [PATCH][net-next] net: remove empty inet_exit_net

2019-08-19 Thread David Miller
From: Li RongQing Date: Mon, 19 Aug 2019 20:05:15 +0800 > 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 func

[PATCH][net-next] net: remove empty inet_exit_net

2019-08-19 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/ipv4/af_inet.c | 5 ---