commit | 2c7f7a3bfe2ab41d070913c2acde269e1ffeb3e2 | [log] [tgz] |
---|---|---|
author | Ricardo Ribalda <ribalda@chromium.org> | Mon Apr 15 19:34:26 2024 +0000 |
committer | Hans Verkuil <hverkuil-cisco@xs4all.nl> | Sat May 04 10:19:59 2024 +0200 |
tree | 17aebc3de30eca20c159b72a2ac105870c352b85 | |
parent | 8a09bb1be67a54b1ab66272731faa0c04b9b675d [diff] |
media: v4l: async: refactor v4l2_async_create_ancillary_links Return 0 without checking IS_ERR or PTR_ERR if CONFIG_MEDIA_CONTROLLER is not enabled. This makes cocci happier: drivers/media/v4l2-core/v4l2-async.c:331:23-30: ERROR: PTR_ERR applied after initialization to constant on line 319 Signed-off-by: Ricardo Ribalda <ribalda@chromium.org> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>