media: atomisp: Remove unused atomisp_css_get_dis_statistics()
authorHans de Goede <hdegoede@redhat.com>
Sun, 4 Sep 2022 13:04:36 +0000 (15:04 +0200)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Sat, 24 Sep 2022 08:12:58 +0000 (10:12 +0200)
Remove the unused atomisp_css_get_dis_statistics() function. This seems to
be a leftover variant / older version of atomisp_css_get_dis_stats() which
is actually used.

Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.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

index af6ab8434b5ee26d21e2c94cb851c6effc9e2e4d..a6d85d0f9ae5f6d5809fc1f67ef7cb4d3c026845 100644 (file)
@@ -129,10 +129,6 @@ int atomisp_alloc_metadata_output_buf(struct atomisp_sub_device *asd);
 
 void atomisp_free_metadata_output_buf(struct atomisp_sub_device *asd);
 
-void atomisp_css_get_dis_statistics(struct atomisp_sub_device *asd,
-                                   struct atomisp_css_buffer *isp_css_buffer,
-                                   struct ia_css_isp_dvs_statistics_map *dvs_map);
-
 void atomisp_css_temp_pipe_to_pipe_id(struct atomisp_sub_device *asd,
                                      struct atomisp_css_event *current_event);
 
index 0154ebf2cba5c7cd76e3315d477d0d690bc97daf..64dd63ddc29c7521f528643b7cd1b7f94ef044a2 100644 (file)
@@ -1574,20 +1574,6 @@ void atomisp_free_metadata_output_buf(struct atomisp_sub_device *asd)
        }
 }
 
-void atomisp_css_get_dis_statistics(struct atomisp_sub_device *asd,
-                                   struct atomisp_css_buffer *isp_css_buffer,
-                                   struct ia_css_isp_dvs_statistics_map *dvs_map)
-{
-       if (asd->params.dvs_stat) {
-               if (dvs_map)
-                       ia_css_translate_dvs2_statistics(
-                           asd->params.dvs_stat, dvs_map);
-               else
-                       ia_css_get_dvs2_statistics(asd->params.dvs_stat,
-                                                  isp_css_buffer->css_buffer.data.stats_dvs);
-       }
-}
-
 void atomisp_css_temp_pipe_to_pipe_id(struct atomisp_sub_device *asd,
                                      struct atomisp_css_event *current_event)
 {