diff options
author | Ying Xue <ying.xue@windriver.com> | 2014-04-21 10:55:50 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-04-22 21:17:53 -0400 |
commit | 4ae88c94d3b52dc47c6ad9352991219862f703f9 (patch) | |
tree | 6ea47f82c1f51d7483ccf308078b6134a00aa523 /net/tipc/bcast.c | |
parent | f1c8d8cb82113ea6f41d2774127d3d08a4ca8d46 (diff) | |
download | blackbird-op-linux-4ae88c94d3b52dc47c6ad9352991219862f703f9.tar.gz blackbird-op-linux-4ae88c94d3b52dc47c6ad9352991219862f703f9.zip |
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>
Diffstat (limited to 'net/tipc/bcast.c')
0 files changed, 0 insertions, 0 deletions