Re: [PATCH v2] staging: qlge: qlge_main.c: rewrite do-while loops into more compact for loops

From: Benjamin Poirier
Date: Sun Jun 12 2022 - 22:52:11 EST


On 2022-06-09 16:46 -0400, Srivathsan Sivakumar wrote:
> simplify do-while loops into for loops
>
> Signed-off-by: Srivathsan Sivakumar <sri.skumar05@xxxxxxxxx>
> ---
> Changes in v2:
> - Rewrite for loops more compactly
>
> drivers/staging/qlge/qlge_main.c | 24 ++++++++++--------------
> 1 file changed, 10 insertions(+), 14 deletions(-)

Please also update the TODO file to remove the respective entry. The
other referenced problem instance was already fixed in commit
41e1bf811ace ("Staging: qlge: Rewrite two while loops as simple for
loops")