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

Subject: media: i2c: ov5693: Drop the unused streaming flag
Author:  Laurent Pinchart <laurent.pinch...@ideasonboard.com>
Date:    Thu Sep 14 20:45:08 2023 +0300

The streaming flag in the driver's private structure is set but never
used. Drop it.

Signed-off-by: Laurent Pinchart <laurent.pinch...@ideasonboard.com>
Reviewed-by: Daniel Scally <dan.sca...@ideasonboard.com>
Reviewed-by: Tommaso Merciai <tomm.merc...@gmail.com>
Signed-off-by: Sakari Ailus <sakari.ai...@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil-ci...@xs4all.nl>

 drivers/media/i2c/ov5693.c | 3 ---
 1 file changed, 3 deletions(-)

---

diff --git a/drivers/media/i2c/ov5693.c b/drivers/media/i2c/ov5693.c
index 033cf7f14f19..819425e21349 100644
--- a/drivers/media/i2c/ov5693.c
+++ b/drivers/media/i2c/ov5693.c
@@ -154,7 +154,6 @@ struct ov5693_device {
                unsigned int inc_y_odd;
                unsigned int vts;
        } mode;
-       bool streaming;
 
        struct v4l2_subdev sd;
        struct media_pad pad;
@@ -996,8 +995,6 @@ static int ov5693_s_stream(struct v4l2_subdev *sd, int 
enable)
        if (ret)
                goto err_power_down;
 
-       ov5693->streaming = !!enable;
-
        if (!enable)
                pm_runtime_put(ov5693->dev);
 

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

Reply via email to