mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-05 18:41:58 +09:00
drm/rockchip: drv: remove unused commit_lock
struct mutex commit_lock is only used by kernel 4.19, use ovl_lock now. Signed-off-by: Sandy Huang <hjc@rock-chips.com> Change-Id: Id7eb81fac31026956eeb9b8799b7d8281e4de4c2
This commit is contained in:
@@ -1919,8 +1919,6 @@ static int rockchip_drm_bind(struct device *dev)
|
||||
|
||||
drm_dev->dev_private = private;
|
||||
|
||||
mutex_init(&private->commit_lock);
|
||||
|
||||
private->hdmi_pll.pll = devm_clk_get_optional(dev, "hdmi-tmds-pll");
|
||||
if (PTR_ERR(private->hdmi_pll.pll) == -EPROBE_DEFER) {
|
||||
ret = -EPROBE_DEFER;
|
||||
|
||||
@@ -561,7 +561,6 @@ struct rockchip_drm_private {
|
||||
struct gen_pool *secure_buffer_pool;
|
||||
struct mutex mm_lock;
|
||||
struct drm_mm mm;
|
||||
struct mutex commit_lock;
|
||||
|
||||
/* private crtc prop */
|
||||
struct drm_property *soc_id_prop;
|
||||
|
||||
Reference in New Issue
Block a user