media: atomisp: Drop atomisp_is_vf_pipe()
authorHans de Goede <hdegoede@redhat.com>
Sun, 7 May 2023 14:20:22 +0000 (15:20 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Fri, 9 Jun 2023 13:30:39 +0000 (14:30 +0100)
commit26dcabc0dd1bcbcb23464362a5ddc917df8ceb74
treee39cd4a5e3258e8418938a875885a556a3947186
parentd957824bf8e43f052e339c16032a4dccf52b0ed0
media: atomisp: Drop atomisp_is_vf_pipe()

Since there only is one /dev/video# node now (no more continuous mode),
there are now no longer separate main capture + view-finder pipes.

We are now always on the main pipe, so atomisp_is_vf_pipe() should
always return false now. Drop any checks using it, replacing them
with the code-path for a false return.

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_cmd.c
drivers/staging/media/atomisp/pci/atomisp_cmd.h
drivers/staging/media/atomisp/pci/atomisp_fops.c
drivers/staging/media/atomisp/pci/atomisp_ioctl.c