From: Allan Stephens Date: Thu, 6 Oct 2011 20:40:55 +0000 (-0400) Subject: tipc: Optimize detection of duplicate media registration X-Git-Tag: v3.3-rc1~182^2~117 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c79be4549ae39edc026aa67eb64a25424542943f;p=pandora-kernel.git 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 Signed-off-by: Paul Gortmaker --- Reading git-diff-tree failed