commit | 93cce3d3657bfb5d04789afcd5104f8c48700f32 | [log] [tgz] |
---|---|---|
author | G. Liakhovetski <gl@dsa-ac.de> | Mon Jul 02 22:56:57 2007 -0700 |
committer | David S. Miller <davem@sunset.davemloft.net> | Tue Jul 10 22:16:52 2007 -0700 |
tree | 03d9392aec25c4386c390d0b45f3ec3f50bd8702 | |
parent | 66f5e51ed5a300291b34bf3e2b1e22ac28ca3631 [diff] |
[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 <gl@dsa-ac.de> Signed-off-by: Samuel Ortiz <samuel@sortiz.org> Signed-off-by: David S. Miller <davem@davemloft.net>