drm/rockchip: remove unused psr_list{,_lock}
authorBrian Norris <briannorris@chromium.org>
Wed, 15 Sep 2021 20:50:11 +0000 (13:50 -0700)
committerHeiko Stuebner <heiko@sntech.de>
Tue, 21 Sep 2021 09:13:56 +0000 (11:13 +0200)
Some leftover cleanup from commit 6c836d965bad ("drm/rockchip: Use the
helpers for PSR").

Cc: Heiko Stuebner <heiko@sntech.de>
Cc: Sean Paul <seanpaul@chromium.org>
Signed-off-by: Brian Norris <briannorris@chromium.org>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20210915135007.1.I926ef5cef287047c35a17e363c919599c6ee6e4c@changeid
drivers/gpu/drm/rockchip/rockchip_drm_drv.c
drivers/gpu/drm/rockchip/rockchip_drm_drv.h

index bfba9793d238db3d4da02c40b50fb13a5c640099..6fa686e6c7e9d8b49219aa2ec6f92489c0fe6c87 100644 (file)
@@ -138,9 +138,6 @@ static int rockchip_drm_bind(struct device *dev)
 
        drm_dev->dev_private = private;
 
-       INIT_LIST_HEAD(&private->psr_list);
-       mutex_init(&private->psr_list_lock);
-
        ret = rockchip_drm_init_iommu(drm_dev);
        if (ret)
                goto err_free;
index e33c2dcd0d4b6fe9a9a071fda0d0de80103407bb..aa0909e8edf93acbf00acff618f5118e44f0b4d1 100644 (file)
@@ -48,8 +48,6 @@ struct rockchip_drm_private {
        struct iommu_domain *domain;
        struct mutex mm_lock;
        struct drm_mm mm;
-       struct list_head psr_list;
-       struct mutex psr_list_lock;
 };
 
 int rockchip_drm_dma_attach_device(struct drm_device *drm_dev,