sky2: simplify list element error
authorStephen Hemminger <shemminger@vyatta.com>
Tue, 18 Aug 2009 15:17:07 +0000 (15:17 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 19 Aug 2009 03:26:47 +0000 (20:26 -0700)
commitc119731d6606ae25d787740d60706e2732454637
tree0819755e251de0e2d6fcbff0ca0a12ee8c26f957
parent5dce95e5687a5a335202b03d133c1b4411ef7ce3
sky2: simplify list element error

The code for list element error (which should only happen on hardware
errors) should be cleaner and safer. Gets rid of unused ring_size
argument, which makes next patch easier.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/sky2.c