niu: fix another warning in drivers/net/niu.c
authorIngo Molnar <mingo@elte.hu>
Wed, 26 Nov 2008 00:48:42 +0000 (16:48 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 26 Nov 2008 00:48:42 +0000 (16:48 -0800)
commitf166400bd4c92df72d997e0da8713fae90d56e57
tree1a4dedc66de0afac081a2303f0be98661d6b6dd2
parent51e0f058c496ef2ca5362c16a53ce1ce454d0817
niu: fix another warning in drivers/net/niu.c

this warning:

  drivers/net/niu.c: In function ‘esr_reset’:
  drivers/net/niu.c:741: warning: ‘reset’ may be used uninitialized in this function

triggers because GCC does not recognize the (correct) error flow
between:

 - esr_read_reset() and 'reset'

Annotate it.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/niu.c