helper/list.h: align file to Linux v5.12
commit968f5082dd7304ba3d8f72f481f4f76886779ea9
authorAntonio Borneo <borneo.antonio@gmail.com>
Wed, 26 May 2021 12:48:10 +0000 (26 14:48 +0200)
committerAntonio Borneo <borneo.antonio@gmail.com>
Fri, 4 Jun 2021 16:41:32 +0000 (4 17:41 +0100)
tree3f8f7f347e805a59e7e908fbc9b2be65c869d306
parentfad1eaaa42ad5a52d1d9e38b1e94ab027fad5b24
helper/list.h: align file to Linux v5.12

Main improvement is in the doxygen comments.
Minimize the delta with kernel file.
Skip the functions hlist_unhashed_lockless() and
__list_del_clearprev() that are relevant only in kernel.
Remove gcc extension "omitted conditional operand".

Change-Id: I2e9ddb54cfe2fa5f7cf18f44726acd144e1f98b9
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: http://openocd.zylin.com/6276
Reviewed-by: <rdiezmail-openocd@yahoo.de>
Tested-by: jenkins
Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
src/helper/list.h