summary refs log tree commit diff
path: root/kernel/timer.c
diff options
context:
space:
mode:
authorAllan Stephens <allan.stephens@windriver.com>2011-10-06 16:40:55 -0400
committerPaul Gortmaker <paul.gortmaker@windriver.com>2011-12-27 11:13:06 -0500
commitc79be4549ae39edc026aa67eb64a25424542943f (patch)
treeb0ad99587a85cf9335ae2bff9a7dd94729d3ef4b /kernel/timer.c
parent706767da1bd0726d8fbc62e4818cb29193676a74 (diff)
downloadlinux-c79be4549ae39edc026aa67eb64a25424542943f.tar.gz
tipc: Optimize detection of duplicate media registration
Streamlines the detection of an attempt to register a TIPC media structure
using an already registered name or type identifier. The revised logic now
reuses an existing routine to detect an existing name and no longer
unnecessarily manipulates the media type counter during an unsuccessful
registration attempt.

Signed-off-by: Allan Stephens <allan.stephens@windriver.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Diffstat (limited to 'kernel/timer.c')
0 files changed, 0 insertions, 0 deletions