[IRDA] irda_nl_get_mode: always results in failure
authorAndy Whitcroft <apw@shadowen.org>
Wed, 22 Aug 2007 04:23:39 +0000 (21:23 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 22 Aug 2007 04:23:39 +0000 (21:23 -0700)
commit22117ea4fef4ea1c7d97c4d68c02c96c268a511b
treeb25aa62a488fc8751a9161d994726dfe28d9b7f6
parent06c7af563d925d04961ce70cd9154fad8e2750c8
[IRDA] irda_nl_get_mode: always results in failure

It seems an extraneous trailing ';' has slipped in to the error handling for a
name registration failure causing the error path to trigger unconditionally.

Signed-off-by: Andy Whitcroft <apw@shadowen.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Samuel Ortiz <samuel@sortiz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/irda/irnetlink.c