cassini: fix warning in drivers/net/cassini.c
authorIngo Molnar <mingo@elte.hu>
Wed, 26 Nov 2008 00:57:05 +0000 (16:57 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 26 Nov 2008 00:57:05 +0000 (16:57 -0800)
commitb71e839f9a33abf8634b1eea4875bc8057fe39e2
tree8642e8d3c25edeef27fc4679f2e664cf2948e42b
parentb58515be978f9377b9546ae98ad6c8bbc2f93ee1
cassini: fix warning in drivers/net/cassini.c

this warning:

  drivers/net/cassini.c: In function ‘cas_rx_ringN’:
  drivers/net/cassini.c:2350: warning: ‘skb’ may be used uninitialized in this function

triggers because GCC does not recognize the (correct) error flow
between cas_rx_process_pkt() and 'skb'.

Annotate it.

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