diff options
author | Allan Stephens <allan.stephens@windriver.com> | 2011-10-07 00:40:55 +0400 |
---|---|---|
committer | Paul Gortmaker <paul.gortmaker@windriver.com> | 2011-12-27 20:13:06 +0400 |
commit | c79be4549ae39edc026aa67eb64a25424542943f (patch) | |
tree | b0ad99587a85cf9335ae2bff9a7dd94729d3ef4b /virt | |
parent | 706767da1bd0726d8fbc62e4818cb29193676a74 (diff) | |
download | linux-c79be4549ae39edc026aa67eb64a25424542943f.tar.xz |
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 'virt')
0 files changed, 0 insertions, 0 deletions