isdn: eicon: Return on error
authorJiri Slaby <jirislaby@gmail.com>
Wed, 4 Nov 2009 16:30:08 +0000 (08:30 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 4 Nov 2009 16:30:08 +0000 (08:30 -0800)
commitb9db21f8b964e158f95bb581c887159b6cb98ffa
treed479f93280fa29d9c713c2b755359b35686ff61c
parent1ea70841f07666af69e481d4ffdd6edb56db3c92
isdn: eicon: Return on error

When diva_strace_read_uint returns an error, return even from
process_idi_event, because l2_state is uninitialized.

Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Cc: Karsten Keil <isdn@linux-pingi.de>
Acked-by: Armin Schindler <armin@melware.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/isdn/hardware/eicon/maintidi.c