diff options
author | Xin Long <lucien.xin@gmail.com> | 2019-07-02 00:57:19 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-07-02 15:13:15 -0700 |
commit | d2c3a4ba25fbfb6b2c7b5fe423be1b287954cd4c (patch) | |
tree | ac0f64e05fe8bdfecc390752134edb389b5f0fbc /drivers/net/bonding | |
parent | 885b8b4dbba5ca6114db0fcd0737fe2512650745 (diff) |
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>
Diffstat (limited to 'drivers/net/bonding')
0 files changed, 0 insertions, 0 deletions