net: remove empty netlink_tap_exit_net
authorLi RongQing <lirongqing@baidu.com>
Fri, 14 Jun 2019 01:29:09 +0000 (09:29 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 15 Jun 2019 02:50:33 +0000 (19:50 -0700)
commit3e18943333404b03d17fc4a008da7c3676523f05
treeed0cd38bd836367480ecf5936f329f989cb76051
parentc4aaa5ddffe78f4fba86e94eed0980dd287bc2b4
net: remove empty netlink_tap_exit_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: David S. Miller <davem@davemloft.net>
net/netlink/af_netlink.c