Commit b4a92d0e authored by Tomasz Figa's avatar Tomasz Figa Committed by Heiko Stuebner

drm/rockchip: Get rid of unnecessary struct fields

This patch removes unused fields from vop structure.
Signed-off-by: default avatarTomasz Figa <tfiga@chromium.org>
Signed-off-by: default avatarSean Paul <seanpaul@chromium.org>
Signed-off-by: default avatarThierry Escande <thierry.escande@collabora.com>
Signed-off-by: default avatarHeiko Stuebner <heiko@sntech.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20180130202913.28724-2-thierry.escande@collabora.com
parent a2fad8d1
...@@ -95,9 +95,6 @@ struct vop { ...@@ -95,9 +95,6 @@ struct vop {
struct drm_device *drm_dev; struct drm_device *drm_dev;
bool is_enabled; bool is_enabled;
/* mutex vsync_ work */
struct mutex vsync_mutex;
bool vsync_work_pending;
struct completion dsp_hold_completion; struct completion dsp_hold_completion;
/* protected by dev->event_lock */ /* protected by dev->event_lock */
...@@ -1555,8 +1552,6 @@ static int vop_bind(struct device *dev, struct device *master, void *data) ...@@ -1555,8 +1552,6 @@ static int vop_bind(struct device *dev, struct device *master, void *data)
spin_lock_init(&vop->reg_lock); spin_lock_init(&vop->reg_lock);
spin_lock_init(&vop->irq_lock); spin_lock_init(&vop->irq_lock);
mutex_init(&vop->vsync_mutex);
ret = devm_request_irq(dev, vop->irq, vop_isr, ret = devm_request_irq(dev, vop->irq, vop_isr,
IRQF_SHARED, dev_name(dev), vop); IRQF_SHARED, dev_name(dev), vop);
if (ret) if (ret)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment