From: Ying Xue Date: Mon, 21 Apr 2014 02:55:50 +0000 (+0800) Subject: tipc: use bearer_disable to disable bearer in tipc_l2_device_event X-Git-Tag: omap-for-v3.16/fixes-against-rc1~36^2~348^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4ae88c94d3b52dc47c6ad9352991219862f703f9;p=pandora-kernel.git 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 Reviewed-by: Jon Maloy Reviewed-by: Erik Hugne Tested-by: Erik Hugne Signed-off-by: David S. Miller --- Reading git-diff-tree failed