media: cx18: Replace custom implementation of list_entry_is_head()

Besides list_entry_is_past_end() is the same as list_entry_is_head(),
it's implemented in the list namespace. Fix both of the issue by replacing
the custom version with list_entry_is_head() calls.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
This commit is contained in:
Andy Shevchenko 2025-05-28 14:32:04 +03:00 • committed by Hans Verkuil
commit d8fbfcab95
3 changed files with 2 additions and 14 deletions