media: atomisp: Remove unused fields from struct atomisp_input_subdev
authorHans de Goede <hdegoede@redhat.com>
Sun, 14 May 2023 18:59:13 +0000 (19:59 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Fri, 9 Jun 2023 14:01:08 +0000 (15:01 +0100)
commit9af6100f4ff55bc3295803c58f535363e3693b38
tree4b58796d01edef551ae0e5fb2afc235b8e812140
parent1ad997e83110d57af7dca8ccbb490e6c634ba46e
media: atomisp: Remove unused fields from struct atomisp_input_subdev

Remove unused fields from struct atomisp_input_subdev:

1. frame_size is never used at all
2. sensor_index is always 0, just directly pass 0 in the single user.

Link: https://lore.kernel.org/r/20230518153733.195306-3-hdegoede@redhat.com
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/staging/media/atomisp/pci/atomisp_internal.h
drivers/staging/media/atomisp/pci/atomisp_ioctl.c
drivers/staging/media/atomisp/pci/atomisp_v4l2.c