[IrDA]: tsap init routine factorisation.
authorG. Liakhovetski <gl@dsa-ac.de>
Tue, 3 Jul 2007 05:56:57 +0000 (22:56 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 11 Jul 2007 05:16:52 +0000 (22:16 -0700)
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 <gl@dsa-ac.de>
Signed-off-by: Samuel Ortiz <samuel@sortiz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found