aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2023-10-27 12:16:43 +0300
committerHans Verkuil <hverkuil-cisco@xs4all.nl>2023-12-04 11:21:46 +0100
commit9641e8019ae8349c7a487e5165469240257410cd (patch)
tree1b9256f48e6519d912d54c9492d7d5f7b4d1b326 /tools/perf/scripts/python/bin
parentmedia: Documentation: Initialisation finishes before subdev registration (diff)
downloadlinux-9641e8019ae8349c7a487e5165469240257410cd.tar.gz
linux-9641e8019ae8349c7a487e5165469240257410cd.zip
media: microchip-isc: Remove dead code in pipeline validation
The isc_try_fse() function, called from isc_validate(), takes two parameters, an isc_device pointer, and a v4l2_subdev_state pointer. The isc_device is accessed but not modified by the function. The state is modified, including the struct v4l2_subdev_pad_config array it points to, but they are then never used by the caller. Furthermore, the V4L2 subdev operation called by isc_try_fse() doesn't modify the subdev it is called on. The isc_try_fse() function has thus no effect, and can just be dropped. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Eugen Hristev <eugen.hristev@collabora.com> Tested-by: Eugen Hristev <eugen.hristev@collabora.com> [Sakari Ailus: Resolve conflicts due to API changes.] Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions