From: G. Liakhovetski Date: Tue, 3 Jul 2007 05:56:57 +0000 (-0700) Subject: [IrDA]: tsap init routine factorisation. X-Git-Tag: v2.6.23-rc1~1109^2~98 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=93cce3d3657bfb5d04789afcd5104f8c48700f32;p=pandora-kernel.git [IrDA]: tsap init routine factorisation. This patch extracts common code from irttp_open_tsap() and irttp_dup() into a new function to 1) avoid code duplication, 2) help avoid forgetting object initialization in the tsap duplication path in the future. Signed-off-by: G. Liakhovetski Signed-off-by: Samuel Ortiz Signed-off-by: David S. Miller --- Reading git-diff-tree failed