diff options
author | Andy Shevchenko <[email protected]> | 2022-01-19 18:08:56 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2022-01-20 08:52:53 +0200 |
commit | 0425473037db40d9e322631f2d4dc6ef51f97e88 (patch) | |
tree | 2ea6d9ea2da4b6a3999998d204f5782f923348ea /scripts/gdb | |
parent | 70ac69928e9717a313a4c72647ebe80663e397a3 (diff) |
list: introduce list_is_head() helper and re-use it in list.h
Introduce list_is_head() in the similar (*) way as it's done for
list_entry_is_head(). Make use of it in the list.h.
*) it's done as inliner and not a macro to be aligned with other
list_is_*() APIs; while at it, make all three to have the same
style.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Andy Shevchenko <[email protected]>
Cc: Heikki Krogerus <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts/gdb')
0 files changed, 0 insertions, 0 deletions