Xin Long d2c3a4ba25 tipc: remove ub->ubsock checks
Both tipc_udp_enable and tipc_udp_disable are called under rtnl_lock,
ub->ubsock could never be NULL in tipc_udp_disable and cleanup_bearer,
so remove the check.

Also remove the one in tipc_udp_enable by adding "free" label.

Signed-off-by: Xin Long <lucien.xin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-07-02 15:13:15 -07:00
..
2018-03-23 13:12:18 -04:00
2019-03-21 09:56:55 -07:00
2018-12-19 11:49:24 -08:00
2018-08-29 18:04:54 -07:00
2018-12-19 11:49:24 -08:00
2016-07-26 14:26:42 -07:00
2018-12-19 11:49:25 -08:00
2019-07-02 15:13:15 -07:00