summaryrefslogtreecommitdiff
path: root/drivers/net/ns83820.c
diff options
context:
space:
mode:
authorAllan Stephens <allan.stephens@windriver.com>2010-10-14 13:58:26 (GMT)
committerDavid S. Miller <davem@davemloft.net>2010-10-18 08:50:49 (GMT)
commitccc901ee58cfb090a31216a6eda0f1e9dfc572fa (patch)
tree84ef5ceb36f6b44c2ba66830c20ebb1fd3b85dcd /drivers/net/ns83820.c
parent724829b3ad8e8aeb0aec46de383d35bfa1ad3875 (diff)
downloadlinux-ccc901ee58cfb090a31216a6eda0f1e9dfc572fa.tar.xz
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 <allan.stephens@windriver.com> Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> Reviewed-by: Neil Horman <nhorman@tuxdriver.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ns83820.c')
0 files changed, 0 insertions, 0 deletions