This is an automatic generated email to let you know that the following patch 
were queued:

Subject: media: st-delta: Remove redundant assignment to ret
Author:  Jiapeng Chong <[email protected]>
Date:    Mon May 17 12:09:20 2021 +0200

Variable ret is being assigned a value however the assignment is
never read, so this redundant assignment can be removed.

Clean up the following clang-analyzer warning:

drivers/media/platform/sti/delta/delta-v4l2.c:1010:4: warning: Value
stored to 'ret' is never read [clang-analyzer-deadcode.DeadStores].

Reported-by: Abaci Robot <[email protected]>
Signed-off-by: Jiapeng Chong <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>

 drivers/media/platform/sti/delta/delta-v4l2.c | 1 -
 1 file changed, 1 deletion(-)

---

diff --git a/drivers/media/platform/sti/delta/delta-v4l2.c 
b/drivers/media/platform/sti/delta/delta-v4l2.c
index 064a00a3084a..c887a31ebb54 100644
--- a/drivers/media/platform/sti/delta/delta-v4l2.c
+++ b/drivers/media/platform/sti/delta/delta-v4l2.c
@@ -1007,7 +1007,6 @@ static void delta_run_work(struct work_struct *work)
                        dev_err(delta->dev,
                                "%s  NULL decoded frame\n",
                                ctx->name);
-                       ret = -EIO;
                        goto out;
                }
 

_______________________________________________
linuxtv-commits mailing list
[email protected]
https://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to