sfc: Move assertions and buffer cleanup earlier in efx_rx_packet_lro()
authorBen Hutchings <bhutchings@solarflare.com>
Mon, 23 Nov 2009 16:02:25 +0000 (16:02 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 24 Nov 2009 18:58:28 +0000 (10:58 -0800)
commit1241e951af060c16cd851a83a045ca3a80288383
tree3b266428426577063ccb0dcdc185fa7292980145
parent3139e62827b9f2b9b553816de664edfe4573c954
sfc: Move assertions and buffer cleanup earlier in efx_rx_packet_lro()

This removes the need to use a label and goto, and makes the two
branches mirror each other more closely.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/sfc/rx.c