Skip to contentSkip to conversation

media: verisilicon: remove hantro_run declaration

PATCH In review Rouven Czerwinski 2 participants 2 messages Apr 10 – Apr 29

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 media: verisilicon: remove hantro_run declaration

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

---
 drivers/media/platform/verisilicon/hantro_hw.h | 1 -
 1 file changed, 1 deletion(-)
drivers/media/platform/verisilicon/hantro_hw.h +0 -1
index 5f2011529f02..13e573f1f19d 100644
@@ -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,

Signature · 1 line
Rouven Czerwinski <[email protected]>
maintainer Reviewed-by on v1 1/1
#1 lore raw

Le vendredi 10 avril 2026 à 08:15 +0200, Rouven Czerwinski via B4 Relay a écrit :

Quoted 6 lines

From: Rouven Czerwinski <[email protected]>

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

Quoted 28 lines

---
 drivers/media/platform/verisilicon/hantro_hw.h | 1 -

 1 file changed, 1 deletion(-)
drivers/media/platform/verisilicon/hantro_hw.h +0 -0
index 5f2011529f02..13e573f1f19d 100644
@@ -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 <[email protected]>