[Intel-gfx] [PATCH] CHROMIUM: drivers: i915: intel_hdmi deleted unused variable
james.ausmus at intel.com
james.ausmus at intel.com
Fri Aug 16 02:31:07 CEST 2013
From: Paul Taysom <taysom at chromium.org>
drivers/gpu/drm/i915/intel_hdmi.c:785:27: warning: unused variable 'adjusted_mode' [-Wunused-variable]
Deleted unused variable, adjusted_mode.
BUG=chromium:237705
TEST=compile kernel and look for warnings.
Signed-off-by: Paul Taysom <taysom at chromium.org>
Change-Id: I9407b3a54ebba0a7fba0f6e0d1db75ca45cd8acd
Reviewed-on: https://gerrit.chromium.org/gerrit/61996
Tested-by: Paul Taysom <taysom at chromium.org>
Reviewed-by: Sonny Rao <sonnyrao at chromium.org>
Commit-Queue: Paul Taysom <taysom at chromium.org>
---
drivers/gpu/drm/i915/intel_hdmi.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/gpu/drm/i915/intel_hdmi.c b/drivers/gpu/drm/i915/intel_hdmi.c
index 0a27ec1..3ad1050 100644
--- a/drivers/gpu/drm/i915/intel_hdmi.c
+++ b/drivers/gpu/drm/i915/intel_hdmi.c
@@ -782,7 +782,6 @@ bool intel_hdmi_compute_config(struct intel_encoder *encoder,
{
struct intel_hdmi *intel_hdmi = enc_to_intel_hdmi(&encoder->base);
struct drm_device *dev = encoder->base.dev;
- struct drm_display_mode *adjusted_mode = &pipe_config->adjusted_mode;
if (intel_hdmi->color_range)
pipe_config->limited_color_range = true;
--
1.8.3.2
More information about the Intel-gfx
mailing list