Re: Use LIST_FOREACH construct instead of homebrew loop

2018-07-03 Thread Alexander Bluhm
On Tue, Jul 03, 2018 at 04:27:30PM +0800, Kevin Lo wrote: > Diff below replaces hand rolled code with LIST_FOREACH. ok? OK bluhm@ > Index: sys/dev/ic/smc83c170.c > === > RCS file: /cvs/src/sys/dev/ic/smc83c170.c,v > retrieving revis

Use LIST_FOREACH construct instead of homebrew loop

2018-07-03 Thread Kevin Lo
Hi, Diff below replaces hand rolled code with LIST_FOREACH. ok? Index: sys/dev/ic/smc83c170.c === RCS file: /cvs/src/sys/dev/ic/smc83c170.c,v retrieving revision 1.27 diff -u -p -u -p -r1.27 smc83c170.c --- sys/dev/ic/smc83c170.c