summaryrefslogtreecommitdiffstats
path: root/drivers/net/ns83820.c
diff options
context:
space:
mode:
authorAllan Stephens <allan.stephens@windriver.com>2010-10-14 15:58:26 +0200
committerDavid S. Miller <davem@davemloft.net>2010-10-18 10:50:49 +0200
commitccc901ee58cfb090a31216a6eda0f1e9dfc572fa (patch)
tree84ef5ceb36f6b44c2ba66830c20ebb1fd3b85dcd /drivers/net/ns83820.c
parenttipc: Kill tipc_get_mode() completely. (diff)
downloadlinux-ccc901ee58cfb090a31216a6eda0f1e9dfc572fa.tar.xz
linux-ccc901ee58cfb090a31216a6eda0f1e9dfc572fa.zip
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