media: mc-device: remove unnecessary __must_check
authorJason Kim <sukbeom.kim@gmail.com>
Tue, 28 Mar 2023 03:14:59 +0000 (12:14 +0900)
committerHans Verkuil <hverkuil-cisco@xs4all.nl>
Tue, 11 Apr 2023 16:54:01 +0000 (18:54 +0200)
commita7687fec197596f23954225c99e183e90208bcbb
tree06c8675cf9eb568c381dd5d9708d04d453ea4944
parent2649c1a20e8e399ee955d0e22192f9992662c3d2
media: mc-device: remove unnecessary __must_check

In the file mc-device.c, the function
media_device_register_entity_notify() does not need to have the
__must_check attribute since it returns only a value of 0.
Therefore, we can remove this attribute and change the function's
return type.

Signed-off-by: Jason Kim <sukbeom.kim@gmail.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
drivers/media/mc/mc-device.c
drivers/media/usb/au0828/au0828-core.c
include/media/media-device.h