diff options
author | Krzysztof Kozlowski <krzk@kernel.org> | 2018-07-18 15:55:20 -0400 |
---|---|---|
committer | Inki Dae <inki.dae@samsung.com> | 2018-07-24 03:28:53 -0400 |
commit | 3f2b78d630b46c7921cb415be35f686e5293c3a4 (patch) | |
tree | ddfa5d0844823828028d94178741bd637db60c1e | |
parent | 7e915746de03e0e62d58491f22805cc5a80a581a (diff) |
drm/exynos/mixer: Remove unused local variable priv
Remove local variable 'priv' to fix GCC warning:
drivers/gpu/drm/exynos/exynos_mixer.c: In function 'mixer_initialize':
drivers/gpu/drm/exynos/exynos_mixer.c:840:29: warning: variable 'priv' set but not used [-Wunused-but-set-variable]
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
-rw-r--r-- | drivers/gpu/drm/exynos/exynos_mixer.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/exynos/exynos_mixer.c b/drivers/gpu/drm/exynos/exynos_mixer.c index e45278e076da..ffbf4a950f69 100644 --- a/drivers/gpu/drm/exynos/exynos_mixer.c +++ b/drivers/gpu/drm/exynos/exynos_mixer.c | |||
@@ -837,8 +837,6 @@ static int mixer_initialize(struct mixer_context *mixer_ctx, | |||
837 | struct drm_device *drm_dev) | 837 | struct drm_device *drm_dev) |
838 | { | 838 | { |
839 | int ret; | 839 | int ret; |
840 | struct exynos_drm_private *priv; | ||
841 | priv = drm_dev->dev_private; | ||
842 | 840 | ||
843 | mixer_ctx->drm_dev = drm_dev; | 841 | mixer_ctx->drm_dev = drm_dev; |
844 | 842 | ||