irda: Fix error propagation in ircomm_lmp_connect_response()
authorDavid S. Miller <davem@davemloft.net>
Thu, 19 May 2011 22:58:39 +0000 (18:58 -0400)
committerDavid S. Miller <davem@davemloft.net>
Thu, 19 May 2011 22:58:39 +0000 (18:58 -0400)
commit8ce6eb1a4a4bc46820f23e927377d386d3ec5404
tree03365bd164a28786402539083147041a2864525f
parentad6376434c945495ea8c4082ad8a392cc58c3406
irda: Fix error propagation in ircomm_lmp_connect_response()

The variable 'ret' is set but unused, and this pointed out that
errors from irlmp_connect_response() are not propagated to the
caller.

Note that this is currently academic since irlmp_connect_response()
always returns 0. :-)

Signed-off-by: David S. Miller <davem@davemloft.net>
net/irda/ircomm/ircomm_lmp.c