Commit aba4b69d01457ab2988e91c8592e5d2ffb10f569
Committed by
Ben Warren
1 parent
e3f2a93362
Exists in
master
and in
54 other branches
net: Trivial coding style issue with empty for statement
Signed-off-by: Detlev Zundel <dzu@denx.de> Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
Showing 1 changed file with 3 additions and 2 deletions Side-by-side Diff
net/eth.c
1 | 1 | /* |
2 | - * (C) Copyright 2001-2004 | |
2 | + * (C) Copyright 2001-2010 | |
3 | 3 | * Wolfgang Denk, DENX Software Engineering, wd@denx.de. |
4 | 4 | * |
5 | 5 | * See file CREDITS for list of people who contributed to this |
... | ... | @@ -173,7 +173,8 @@ |
173 | 173 | } |
174 | 174 | #endif |
175 | 175 | } else { |
176 | - for (d=eth_devices; d->next!=eth_devices; d=d->next); | |
176 | + for (d=eth_devices; d->next!=eth_devices; d=d->next) | |
177 | + ; | |
177 | 178 | d->next = dev; |
178 | 179 | } |
179 | 180 |