diff options
| author | Dan Carpenter <error27@gmail.com> | 2026-09-22 13:34:22 +0300 |
|---|---|---|
| committer | Sakari Ailus <sakari.ailus@linux.intel.com> | 2026-09-26 16:48:12 +0300 |
| commit | d8cfc429dc10028b8d882894fc3e5ba7f8710f66 (patch) | |
| tree | 040d4b0043887b4049fbc4abc3d8e5d05ab4cabe /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 628a575c99e767d6fac81215fca1190b61867148 (diff) | |
media: ti: cal: remove unnecessary error check
The v4l2_subdev_lock_and_get_active_state() function never returns
error pointers. As the comments explain, it "returns the locked active
state for the subdevice, or NULL if the subdev does not support active
state." None of the other callers check for an error pointer return.
Delete this unnecessary check.
Signed-off-by: Dan Carpenter <error27@gmail.com>
Reviewed-by: Yemike Abhilash Chandra <y-abhilashchandra@ti.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
