Re: [PATCH v3 3/5] console: Use for_each_console() helper in unregister_console()

From: Petr Mladek
Date: Wed Jan 29 2020 - 09:12:02 EST


On Mon 2020-01-27 13:47:17, Andy Shevchenko wrote:
> We have rather open coded single linked list manipulations where we may
> simple use for_each_console() helper with properly set exit conditions.
>
> Replace open coded single-linked list handling with for_each_console()
> helper in use.
>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>

Nice simplification.

Reviewed-by: Petr Mladek <pmladek@xxxxxxxx>

Best Regards,
Petr