diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2021-04-28 09:30:40 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-05-13 16:25:42 +0200 |
commit | 89e78001295cb9eb0e86ae15b46cbbc0e45e2c8d (patch) | |
tree | ecb7afc0f26adfffe14a989439ddaa35699085fc /drivers/soc | |
parent | 021212f5335229ed12e3d31f9b7d30bd3bb66f7d (diff) |
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>
Diffstat (limited to 'drivers/soc')
0 files changed, 0 insertions, 0 deletions