diff options
author | G. Liakhovetski <gl@dsa-ac.de> | 2007-07-02 22:56:57 -0700 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-07-10 22:16:52 -0700 |
commit | 93cce3d3657bfb5d04789afcd5104f8c48700f32 (patch) | |
tree | 03d9392aec25c4386c390d0b45f3ec3f50bd8702 /include | |
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>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions