net/irda: sh_sir: fixup err return value on sh_sir_open
commitba5d47cf4313e86afe046d402b8cfe7b2bca911d
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Mon, 5 Apr 2010 18:43:09 +0000 (5 18:43 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 7 Apr 2010 02:50:20 +0000 (6 19:50 -0700)
tree1071b74daf19dc3bac30763214306fbb743254d7
parent842509b8591fd9a40f5532a5f049bd29804af6d6
net/irda: sh_sir: fixup err return value on sh_sir_open

On sh_sir_open function, there was a possibility that
err variable didn't have value even though it is return value.
This patch modify it.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/irda/sh_sir.c