diff mbox series

[19/28] media: atomisp: Remove duplicate atomisp_[start|stop]_streaming prototypes

Message ID 20230401145926.596216-20-hdegoede@redhat.com
State Accepted
Commit 5fa5657be27971ec8c87abf50eaadb2205dd7053
Headers show
Series media: atomisp: Further sensor rework + exotic features removal | expand

Commit Message

Hans de Goede April 1, 2023, 2:59 p.m. UTC
atomisp_ioctl.h contains the atomisp_[start|stop]_streaming function
prototypes 2 times. Drop one of the copies of the prototypes.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
---
 drivers/staging/media/atomisp/pci/atomisp_ioctl.h | 3 ---
 1 file changed, 3 deletions(-)

Comments

Andy Shevchenko April 2, 2023, 7:57 a.m. UTC | #1
On Sat, Apr 1, 2023 at 5:00 PM Hans de Goede <hdegoede@redhat.com> wrote:
>
> atomisp_ioctl.h contains the atomisp_[start|stop]_streaming function

_streaming()

> prototypes 2 times. Drop one of the copies of the prototypes.
>
> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
> ---
>  drivers/staging/media/atomisp/pci/atomisp_ioctl.h | 3 ---
>  1 file changed, 3 deletions(-)
>
> diff --git a/drivers/staging/media/atomisp/pci/atomisp_ioctl.h b/drivers/staging/media/atomisp/pci/atomisp_ioctl.h
> index 93139decf1d0..db6da77df06b 100644
> --- a/drivers/staging/media/atomisp/pci/atomisp_ioctl.h
> +++ b/drivers/staging/media/atomisp/pci/atomisp_ioctl.h
> @@ -53,7 +53,4 @@ unsigned int atomisp_streaming_count(struct atomisp_device *isp);
>  long atomisp_compat_ioctl32(struct file *file,
>                             unsigned int cmd, unsigned long arg);
>
> -int atomisp_start_streaming(struct vb2_queue *vq, unsigned int count);
> -void atomisp_stop_streaming(struct vb2_queue *vq);
> -
>  #endif /* __ATOMISP_IOCTL_H__ */
> --
> 2.39.1
>
diff mbox series

Patch

diff --git a/drivers/staging/media/atomisp/pci/atomisp_ioctl.h b/drivers/staging/media/atomisp/pci/atomisp_ioctl.h
index 93139decf1d0..db6da77df06b 100644
--- a/drivers/staging/media/atomisp/pci/atomisp_ioctl.h
+++ b/drivers/staging/media/atomisp/pci/atomisp_ioctl.h
@@ -53,7 +53,4 @@  unsigned int atomisp_streaming_count(struct atomisp_device *isp);
 long atomisp_compat_ioctl32(struct file *file,
 			    unsigned int cmd, unsigned long arg);
 
-int atomisp_start_streaming(struct vb2_queue *vq, unsigned int count);
-void atomisp_stop_streaming(struct vb2_queue *vq);
-
 #endif /* __ATOMISP_IOCTL_H__ */