[PATCH] sky2: don't hard code number of ports
authorStephen Hemminger <shemminger@osdl.org>
Tue, 13 Jun 2006 08:17:28 +0000 (17:17 +0900)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 13 Jun 2006 20:16:41 +0000 (13:16 -0700)
commitf05267e7dee58741a4feb20d0351706ec64bb0b5
treeb99907cae2801309761a1c89bbd57e642c3aff24
parent2ccc99b7b71976d15822ae7c41cd2ccda66d5076
[PATCH] sky2: don't hard code number of ports

It is cleaner, to not loop over both ports if only one exists.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/net/sky2.c