media: cx18: Replace custom implementation of list_entry_is_head()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 28 May 2025 11:32:04 +0000 (14:32 +0300)
committerHans Verkuil <hverkuil@xs4all.nl>
Tue, 17 Jun 2025 08:35:15 +0000 (10:35 +0200)
commitd8fbfcab95ffab466aba475127ae677a4c7160fb
treedc2880df5bfe2f047e67906b1146dc7088f71b3b
parent1cb109d8863da75c22458b90c43b4e61b994e332
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>
drivers/media/pci/cx18/cx18-driver.h
drivers/media/pci/cx18/cx18-fileops.c
drivers/media/pci/cx18/cx18-ioctl.c