From: Allan Stephens Date: Thu, 14 Oct 2010 13:58:26 +0000 (+0000) Subject: tipc: Simplify bearer shutdown logic X-Git-Tag: v2.6.37-rc1~147^2~108 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ccc901ee58cfb090a31216a6eda0f1e9dfc572fa;p=pandora-kernel.git tipc: Simplify bearer shutdown logic Optimize processing in TIPC's bearer shutdown code, including: 1. Remove an unnecessary check to see if TIPC bearer's can exist. 2. Don't release spinlocks before calling a media-specific disabling routine, since the routine can't sleep. 3. Make bearer_disable() operate directly on a struct bearer, instead of needlessly taking a name and then mapping that to the struct. Signed-off-by: Allan Stephens Signed-off-by: Paul Gortmaker Reviewed-by: Neil Horman Signed-off-by: David S. Miller --- Reading git-diff-tree failed