Skip to content

Commit

Permalink
drm: rcar-du: Remove wait field from rcar_du_device structure
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Laurent Pinchart committed Apr 4, 2017
1 parent 3115345 commit eff7fd6
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
2 changes: 0 additions & 2 deletions drivers/gpu/drm/rcar-du/rcar_du_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down
5 changes: 0 additions & 5 deletions drivers/gpu/drm/rcar-du/rcar_du_drv.h
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit eff7fd6

Please sign in to comment.