There are some things inside struct dss_hw_ctx that are unused. Get rid of them. Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@xxxxxxxxxx> --- drivers/staging/hikey9xx/gpu/kirin960_dpe_reg.h | 2 -- drivers/staging/hikey9xx/gpu/kirin970_dpe_reg.h | 3 --- drivers/staging/hikey9xx/gpu/kirin9xx_drm_dss.c | 2 -- 3 files changed, 7 deletions(-) diff --git a/drivers/staging/hikey9xx/gpu/kirin960_dpe_reg.h b/drivers/staging/hikey9xx/gpu/kirin960_dpe_reg.h index cd248bf15503..ae4eaae14429 100644 --- a/drivers/staging/hikey9xx/gpu/kirin960_dpe_reg.h +++ b/drivers/staging/hikey9xx/gpu/kirin960_dpe_reg.h @@ -3081,8 +3081,6 @@ struct dss_hw_ctx { ktime_t vsync_timestamp_prev; struct iommu_domain *mmu_domain; - struct ion_client *ion_client; - struct ion_handle *ion_handle; char __iomem *screen_base; unsigned long smem_start; unsigned long screen_size; diff --git a/drivers/staging/hikey9xx/gpu/kirin970_dpe_reg.h b/drivers/staging/hikey9xx/gpu/kirin970_dpe_reg.h index aeae3720c889..4751b8b6423c 100644 --- a/drivers/staging/hikey9xx/gpu/kirin970_dpe_reg.h +++ b/drivers/staging/hikey9xx/gpu/kirin970_dpe_reg.h @@ -4068,12 +4068,9 @@ struct dss_hw_ctx { ktime_t vsync_timestamp_prev; struct iommu_domain *mmu_domain; - struct ion_client *ion_client; - struct ion_handle *ion_handle; char __iomem *screen_base; unsigned long smem_start; unsigned long screen_size; - struct dss_smmu smmu; }; struct dss_clk_rate { diff --git a/drivers/staging/hikey9xx/gpu/kirin9xx_drm_dss.c b/drivers/staging/hikey9xx/gpu/kirin9xx_drm_dss.c index 292e14d2edf5..6792ac6fa8dc 100644 --- a/drivers/staging/hikey9xx/gpu/kirin9xx_drm_dss.c +++ b/drivers/staging/hikey9xx/gpu/kirin9xx_drm_dss.c @@ -976,8 +976,6 @@ static int dss_drm_init(struct drm_device *dev) if (ret) return ret; - ctx->ion_client = NULL; - ctx->ion_handle = NULL; ctx->screen_base = 0; ctx->screen_size = 0; ctx->smem_start = 0; -- 2.26.2 _______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/dri-devel