Home
last modified time | relevance | path

Searched hist:"89 e78001" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/tty/serial/8250/
H A D8250_core.c89e78001 Wed Apr 28 02:30:40 CDT 2021 Christophe JAILLET <christophe.jaillet@wanadoo.fr> serial: 8250: Use 'hlist_for_each_entry' to simplify code

Use 'hlist_for_each_entry' instead of hand writing it.
This saves a few lines of code.

The comment about warning generated by some gcc version is also removed.
The way 'hlist_for_each_entry' is written should prevent such a warning to
be emitted.

Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/14024ddeb2b3a8c5b0138b5ba5083f54d00164a9.1619594713.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>