media: atomisp: remove no longer used atomisp_css_acc_done() function
authorHans de Goede <hdegoede@redhat.com>
Wed, 15 Jun 2022 20:50:19 +0000 (21:50 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Fri, 8 Jul 2022 15:22:51 +0000 (16:22 +0100)
atomisp_css_acc_done() is no longer used anywhere, remove it.

Link: https://lore.kernel.org/linux-media/20220615205037.16549-23-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_compat.h
drivers/staging/media/atomisp/pci/atomisp_compat_css20.c
drivers/staging/media/atomisp/pci/atomisp_subdev.h

index 07569f4..809f1a8 100644 (file)
@@ -442,8 +442,6 @@ int atomisp_css_get_dis_stat(struct atomisp_sub_device *asd,
 
 int atomisp_css_update_stream(struct atomisp_sub_device *asd);
 
-void atomisp_css_acc_done(struct atomisp_sub_device *asd);
-
 struct atomisp_acc_fw;
 int atomisp_css_set_acc_parameters(struct atomisp_acc_fw *acc_fw);
 
index 646404a..6e91654 100644 (file)
@@ -3823,11 +3823,6 @@ void atomisp_css_set_cont_prev_start_time(struct atomisp_device *isp,
        return;
 }
 
-void atomisp_css_acc_done(struct atomisp_sub_device *asd)
-{
-       complete(&asd->acc.acc_done);
-}
-
 /* Set the ACC binary arguments */
 int atomisp_css_set_acc_parameters(struct atomisp_acc_fw *acc_fw)
 {
index f611fd4..798a937 100644 (file)
@@ -322,10 +322,6 @@ struct atomisp_sub_device {
 
        struct v4l2_ctrl *disable_dz;
 
-       struct {
-               struct completion acc_done;
-       } acc;
-
        struct atomisp_subdev_params params;
 
        struct atomisp_stream_env stream_env[ATOMISP_INPUT_STREAM_NUM];