diff options
author | 2023-05-11 19:35:43 +0100 | |
---|---|---|
committer | 2023-06-09 14:46:52 +0100 | |
commit | 3fb3cd02d25b391a507cbc480361d4d27cbdfc21 (patch) | |
tree | 1b8a684f3f994dbc5b88fc1f2e7c392bd38e3ff5 /drivers/staging/media/atomisp/pci/atomisp_ioctl.c | |
parent | media: atomisp: Remove no longer used atomisp_css_flush() (diff) | |
download | wireguard-linux-3fb3cd02d25b391a507cbc480361d4d27cbdfc21.tar.xz wireguard-linux-3fb3cd02d25b391a507cbc480361d4d27cbdfc21.zip |
media: atomisp: Remove atomisp_streaming_count()
atomisp_streaming_count() is just an alias for isp->asd.streaming now,
replace it with directly checking that and remove the helper.
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>
Diffstat (limited to 'drivers/staging/media/atomisp/pci/atomisp_ioctl.c')
-rw-r--r-- | drivers/staging/media/atomisp/pci/atomisp_ioctl.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/staging/media/atomisp/pci/atomisp_ioctl.c b/drivers/staging/media/atomisp/pci/atomisp_ioctl.c index 020d4184375f..6a062b86d18a 100644 --- a/drivers/staging/media/atomisp/pci/atomisp_ioctl.c +++ b/drivers/staging/media/atomisp/pci/atomisp_ioctl.c @@ -599,11 +599,6 @@ static int atomisp_enum_input(struct file *file, void *fh, return 0; } -unsigned int atomisp_streaming_count(struct atomisp_device *isp) -{ - return isp->asd.streaming; -} - /* * get input are used to get current primary/secondary camera */ |