summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/display/dc/dce110/dce110_ipp_gamma.c
diff options
context:
space:
mode:
authorHarry Wentland <harry.wentland@amd.com>2017-01-04 18:48:07 -0500
committerAlex Deucher <alexander.deucher@amd.com>2017-09-26 17:08:41 -0400
commite5cf325b0c21e626c402b57a055f02c478e3df40 (patch)
tree76f9bb4d8cbd7b9b4edd6e8a9f1e36665049a4b1 /drivers/gpu/drm/amd/display/dc/dce110/dce110_ipp_gamma.c
parent5727c77cf8de2fd603780151b9c9e17828464360 (diff)
drm/amd/display: Fix warnings in DC
Signed-off-by: Harry Wentland <harry.wentland@amd.com> Acked-by: Harry Wentland <Harry.Wentland@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/dce110/dce110_ipp_gamma.c')
-rw-r--r--drivers/gpu/drm/amd/display/dc/dce110/dce110_ipp_gamma.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dce110/dce110_ipp_gamma.c b/drivers/gpu/drm/amd/display/dc/dce110/dce110_ipp_gamma.c
index c68914bf7af0..f05cc9e981f3 100644
--- a/drivers/gpu/drm/amd/display/dc/dce110/dce110_ipp_gamma.c
+++ b/drivers/gpu/drm/amd/display/dc/dce110/dce110_ipp_gamma.c
@@ -72,8 +72,6 @@ bool dce110_ipp_set_degamma(
{
struct dce110_ipp *ipp110 = TO_DCE110_IPP(ipp);
- uint32_t value = 0;
-
uint32_t degamma_type = (mode == IPP_DEGAMMA_MODE_HW_sRGB) ? 1 : 0;
ASSERT(mode == IPP_DEGAMMA_MODE_BYPASS ||