r8169: abstract out loop conditions.
authorFrancois Romieu <romieu@fr.zoreil.com>
Fri, 6 Jul 2012 12:19:23 +0000 (14:19 +0200)
committerFrancois Romieu <romieu@fr.zoreil.com>
Mon, 9 Jul 2012 21:38:22 +0000 (23:38 +0200)
commitffc46952b313ff037debca1b4e3da9472ff4b441
tree9ce60ab5785d1c0d3a08181905629065bb5d1d37
parentfdf6fc067aaeb13aba89d1b56aa39d3bf06fde43
r8169: abstract out loop conditions.

Twelve functions can fail silently. Now they have a chance to complain.

Macro and pasting abuse has been kept at a level where tags and
friends should not be hurt.

Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
drivers/net/ethernet/realtek/r8169.c