linux/net/tipc
Ying Xue 4ae88c94d3 tipc: use bearer_disable to disable bearer in tipc_l2_device_event
As bearer pointer is known in tipc_l2_device_event(), it's unnecessary
to search it again in tipc_disable_bearer(). If tipc_disable_bearer()
is replaced with bearer_disable() in tipc_l2_device_event(), this will
help us save a bit time when bearer is disabled.

Signed-off-by: Ying Xue <ying.xue@windriver.com>
Reviewed-by: Jon Maloy <jon.maloy@ericsson.com>
Reviewed-by: Erik Hugne <erik.hugne@ericsson.com>
Tested-by: Erik Hugne <erik.hugne@ericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-04-22 21:17:53 -04:00
..
addr.c
addr.h
bcast.c tipc: purge tipc_net_lock lock 2014-04-22 21:17:53 -04:00
bcast.h
bearer.c tipc: use bearer_disable to disable bearer in tipc_l2_device_event 2014-04-22 21:17:53 -04:00
bearer.h tipc: use RCU to protect media_ptr pointer 2014-04-22 21:17:53 -04:00
config.c
config.h
core.c
core.h
discover.c tipc: decouple the relationship between bearer and link 2014-04-22 21:17:53 -04:00
discover.h
eth_media.c
handler.c
ib_media.c
Kconfig
link.c tipc: purge tipc_net_lock lock 2014-04-22 21:17:53 -04:00
link.h tipc: decouple the relationship between bearer and link 2014-04-22 21:17:53 -04:00
log.c
Makefile
msg.c
msg.h
name_distr.c tipc: purge tipc_net_lock lock 2014-04-22 21:17:53 -04:00
name_distr.h
name_table.c
name_table.h
net.c tipc: purge tipc_net_lock lock 2014-04-22 21:17:53 -04:00
net.h tipc: purge tipc_net_lock lock 2014-04-22 21:17:53 -04:00
netlink.c
node.c tipc: purge tipc_net_lock lock 2014-04-22 21:17:53 -04:00
node.h
node_subscr.c
node_subscr.h
port.c
port.h
ref.c
ref.h
server.c
server.h
socket.c
socket.h
subscr.c
subscr.h
sysctl.c