s2io: fix warning in drivers/net/s2io.c
authorIngo Molnar <mingo@elte.hu>
Wed, 26 Nov 2008 00:47:35 +0000 (16:47 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 26 Nov 2008 00:47:35 +0000 (16:47 -0800)
commit2e6a684b8489b21324f314be2bd8d3788a9f6445
tree682c50f7596dee6d7d087ecff9c856c79f543946
parent09bb52175bf4d6a46fc8502e76be29206d9a677a
s2io: fix warning in drivers/net/s2io.c

this warning:

  drivers/net/s2io.c: In function ‘rx_intr_handler’:
  drivers/net/s2io.c:7369: warning: ‘lro’ may be used uninitialized in this function

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

 - s2io_club_tcp_session()and 'lro'

Annotate it.

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