diff options
author | Tomasz Figa <tfiga@chromium.org> | 2018-01-30 23:28:31 +0300 |
---|---|---|
committer | Heiko Stuebner <heiko@sntech.de> | 2018-02-18 13:16:19 +0300 |
commit | b4a92d0eef5ab1f81282c9ebca1822d99a35547a (patch) | |
tree | f089eebc1b0e36faad0d8bd31aeb48fc0eea86f3 /drivers/gpu/drm/rockchip | |
parent | a2fad8d1bdd31b21d37b38e6203f71af6e9b42ad (diff) | |
download | linux-b4a92d0eef5ab1f81282c9ebca1822d99a35547a.tar.xz |
drm/rockchip: Get rid of unnecessary struct fields
This patch removes unused fields from vop structure.
Signed-off-by: Tomasz Figa <tfiga@chromium.org>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Signed-off-by: Thierry Escande <thierry.escande@collabora.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20180130202913.28724-2-thierry.escande@collabora.com
Diffstat (limited to 'drivers/gpu/drm/rockchip')
-rw-r--r-- | drivers/gpu/drm/rockchip/rockchip_drm_vop.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/gpu/drm/rockchip/rockchip_drm_vop.c b/drivers/gpu/drm/rockchip/rockchip_drm_vop.c index 7715853ef90a..66736227c96e 100644 --- a/drivers/gpu/drm/rockchip/rockchip_drm_vop.c +++ b/drivers/gpu/drm/rockchip/rockchip_drm_vop.c @@ -95,9 +95,6 @@ struct vop { struct drm_device *drm_dev; bool is_enabled; - /* mutex vsync_ work */ - struct mutex vsync_mutex; - bool vsync_work_pending; struct completion dsp_hold_completion; /* protected by dev->event_lock */ @@ -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->irq_lock); - mutex_init(&vop->vsync_mutex); - ret = devm_request_irq(dev, vop->irq, vop_isr, IRQF_SHARED, dev_name(dev), vop); if (ret) |