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

Subject: media: v4l: async: Drop useless list move operation
Author:  Sebastian Reichel <s...@kernel.org>
Date:    Mon Nov 13 23:57:24 2023 +0100

v4l2_async_unbind_subdev_one(), which is called in the line
following the list_move() operation contains list_move_tail()
for the same entry and overrides anything list_move() did.
Thus it can be removed.

Signed-off-by: Sebastian Reichel <s...@kernel.org>
Signed-off-by: Sakari Ailus <sakari.ai...@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil-ci...@xs4all.nl>

 drivers/media/v4l2-core/v4l2-async.c | 3 ---
 1 file changed, 3 deletions(-)

---

diff --git a/drivers/media/v4l2-core/v4l2-async.c 
b/drivers/media/v4l2-core/v4l2-async.c
index 8cfd593d293d..3ec323bd528b 100644
--- a/drivers/media/v4l2-core/v4l2-async.c
+++ b/drivers/media/v4l2-core/v4l2-async.c
@@ -876,9 +876,6 @@ void v4l2_async_unregister_subdev(struct v4l2_subdev *sd)
        if (sd->asc_list.next) {
                list_for_each_entry_safe(asc, asc_tmp, &sd->asc_list,
                                         asc_subdev_entry) {
-                       list_move(&asc->asc_entry,
-                                 &asc->notifier->waiting_list);
-
                        v4l2_async_unbind_subdev_one(asc->notifier, asc);
                }
        }

_______________________________________________
linuxtv-commits mailing list
linuxtv-commits@linuxtv.org
https://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to