From: Kevin Hao <[email protected]>

These unused variable and function were introduced by following two SDK
commit:
f8e6ff41424e ("decoder: separate V4L2 node implementation from common driver")
441f9ae2b664 ("vxe-vxd: decoder: allowing vb mapping to change for buffer 
importing")

Signed-off-by: Kevin Hao <[email protected]>
---
 .../media/platform/vxe-vxd/decoder/vxd_v4l2.c    | 16 ----------------
 1 file changed, 16 deletions(-)

diff --git a/drivers/media/platform/vxe-vxd/decoder/vxd_v4l2.c 
b/drivers/media/platform/vxe-vxd/decoder/vxd_v4l2.c
index f325f3812214..2867db8f431e 100644
--- a/drivers/media/platform/vxe-vxd/decoder/vxd_v4l2.c
+++ b/drivers/media/platform/vxe-vxd/decoder/vxd_v4l2.c
@@ -364,21 +364,6 @@ static void return_worker(void *work)
        kfree(res);
 }
 
-static void vxd_error_recovery(struct vxd_dec_ctx *ctx)
-{
-       int ret = -1;
-
-       /*
-        * In the previous frame decoding fatal error has been detected
-        * so we need to reload the firmware to make it alive.
-        */
-       pr_debug("Reloading the firmware because of previous error\n");
-       vxd_clean_fw_resources(ctx->dev);
-       ret = vxd_prepare_fw(ctx->dev);
-       if (ret)
-               pr_err("Reloading the firmware failed!!");
-}
-
 static struct vxd_dec_q_data *get_q_data(struct vxd_dec_ctx *ctx,
                                         enum v4l2_buf_type type)
 {
@@ -894,7 +879,6 @@ static void vxd_dec_stop_streaming(struct vb2_queue *vq)
        struct list_head *list;
        struct list_head *temp;
        struct vxd_buffer *buf = NULL;
-       struct vxd_mapping *mapping = NULL;
 
        if (V4L2_TYPE_IS_OUTPUT(vq->type))
                ctx->dst_streaming = FALSE;
-- 
2.44.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#13792): 
https://lists.yoctoproject.org/g/linux-yocto/message/13792
Mute This Topic: https://lists.yoctoproject.org/mt/105459978/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to