[PATCH] media: verisilicon: remove hantro_run declaration

Rouven Czerwinski via B4 Relay posted 1 patch 2 months, 1 week ago
drivers/media/platform/verisilicon/hantro_hw.h | 1 -
1 file changed, 1 deletion(-)
[PATCH] media: verisilicon: remove hantro_run declaration
Posted by Rouven Czerwinski via B4 Relay 2 months, 1 week ago
From: Rouven Czerwinski <rouven.czerwinski@linaro.org>

The function hantro_run() is declared but never defined nor used, remove
the dangling declaration.

Signed-off-by: Rouven Czerwinski <rouven.czerwinski@linaro.org>
---
 drivers/media/platform/verisilicon/hantro_hw.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/media/platform/verisilicon/hantro_hw.h b/drivers/media/platform/verisilicon/hantro_hw.h
index 5f2011529f02..13e573f1f19d 100644
--- a/drivers/media/platform/verisilicon/hantro_hw.h
+++ b/drivers/media/platform/verisilicon/hantro_hw.h
@@ -427,7 +427,6 @@ extern const struct hantro_postproc_ops rockchip_vpu981_postproc_ops;
 extern const u32 hantro_vp8_dec_mc_filter[8][6];
 
 void hantro_watchdog(struct work_struct *work);
-void hantro_run(struct hantro_ctx *ctx);
 void hantro_irq_done(struct hantro_dev *vpu,
 		     enum vb2_buffer_state result);
 void hantro_start_prepare_run(struct hantro_ctx *ctx);

---
base-commit: 591cd656a1bf5ea94a222af5ef2ee76df029c1d2
change-id: 20260409-hantro-dangling-declaration-a337df1daf42

Best regards,
--  
Rouven Czerwinski <rouven.czerwinski@linaro.org>
Re: [PATCH] media: verisilicon: remove hantro_run declaration
Posted by Nicolas Dufresne 1 month, 3 weeks ago
Le vendredi 10 avril 2026 à 08:15 +0200, Rouven Czerwinski via B4 Relay a
écrit :
> From: Rouven Czerwinski <rouven.czerwinski@linaro.org>
> 
> The function hantro_run() is declared but never defined nor used, remove
> the dangling declaration.
> 
> Signed-off-by: Rouven Czerwinski <rouven.czerwinski@linaro.org>

Reviewed-by: Nicolas Dufresne <nicolas.dufresne@collabora.com>

> ---
>  drivers/media/platform/verisilicon/hantro_hw.h | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/media/platform/verisilicon/hantro_hw.h
> b/drivers/media/platform/verisilicon/hantro_hw.h
> index 5f2011529f02..13e573f1f19d 100644
> --- a/drivers/media/platform/verisilicon/hantro_hw.h
> +++ b/drivers/media/platform/verisilicon/hantro_hw.h
> @@ -427,7 +427,6 @@ extern const struct hantro_postproc_ops
> rockchip_vpu981_postproc_ops;
>  extern const u32 hantro_vp8_dec_mc_filter[8][6];
>  
>  void hantro_watchdog(struct work_struct *work);
> -void hantro_run(struct hantro_ctx *ctx);
>  void hantro_irq_done(struct hantro_dev *vpu,
>  		     enum vb2_buffer_state result);
>  void hantro_start_prepare_run(struct hantro_ctx *ctx);
> 
> ---
> base-commit: 591cd656a1bf5ea94a222af5ef2ee76df029c1d2
> change-id: 20260409-hantro-dangling-declaration-a337df1daf42
> 
> Best regards,
> --  
> Rouven Czerwinski <rouven.czerwinski@linaro.org>
> 
>