diff options
| author | Hans de Goede <hdegoede@redhat.com> | 2022-09-04 18:54:36 +0200 | 
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab@kernel.org> | 2022-09-24 10:13:49 +0200 | 
| commit | cf2e0516f040fd576b35436b316c0923c45fb468 (patch) | |
| tree | a26d83e431b9f935a826b6d7238954e14c98617a /drivers/fpga/fpga-mgr.c | |
| parent | e226e9a492a32d0789b27bedc1d0a4644fe8c118 (diff) | |
media: atomisp: Remove const/fixed camera_caps
The code checks a camera_caps struct in various places, but this always
points to the same const camera_caps struct.
Remove the checks, keeping the code paths which would be taken with
the fixed camera caps struct still in place and remove the camera_caps
struct itself.
Note this completely removes atomisp_pause_buffer_event() because that
only ever does something if camera_caps.sensors[0].is_slave is true and
that never is true.
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions
