drm: rcar-du: Remove wait field from rcar_du_device structure
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Sat, 4 Mar 2017 21:49:27 +0000 (23:49 +0200)
committerLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Tue, 4 Apr 2017 14:03:52 +0000 (17:03 +0300)
The field is a left-over from the switch to the atomic commit helper.
It's unused, remove it.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
drivers/gpu/drm/rcar-du/rcar_du_drv.c
drivers/gpu/drm/rcar-du/rcar_du_drv.h

index 3a6c118457c36d5a1aca28a20e2779e572e6f3e8..a4f5520a9f3ea2f67a52ecb1dc2b3312f9425ca2 100644 (file)
@@ -318,8 +318,6 @@ static int rcar_du_probe(struct platform_device *pdev)
        if (rcdu == NULL)
                return -ENOMEM;
 
-       init_waitqueue_head(&rcdu->commit.wait);
-
        rcdu->dev = &pdev->dev;
        rcdu->info = of_device_get_match_data(rcdu->dev);
 
index c843c3134498a985b5e56151e1ececbb5bef49eb..574b3c1c21dfe87d4c5a6217142aa9ad7e4d22e2 100644 (file)
@@ -98,11 +98,6 @@ struct rcar_du_device {
        unsigned int vspd1_sink;
 
        struct rcar_du_lvdsenc *lvds[RCAR_DU_MAX_LVDS];
-
-       struct {
-               wait_queue_head_t wait;
-               u32 pending;
-       } commit;
 };
 
 static inline bool rcar_du_has(struct rcar_du_device *rcdu,