[PATCH] gma500: remove an unreachable return statement

Jani Nikula jani.nikula at intel.com
Wed Aug 15 02:34:43 PDT 2012


Signed-off-by: Jani Nikula <jani.nikula at intel.com>
---
 drivers/gpu/drm/gma500/psb_intel_sdvo.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/drivers/gpu/drm/gma500/psb_intel_sdvo.c b/drivers/gpu/drm/gma500/psb_intel_sdvo.c
index a453d94..d35f93b 100644
--- a/drivers/gpu/drm/gma500/psb_intel_sdvo.c
+++ b/drivers/gpu/drm/gma500/psb_intel_sdvo.c
@@ -1292,7 +1292,6 @@ psb_intel_sdvo_get_analog_edid(struct drm_connector *connector)
 
 	return drm_get_edid(connector,
 			    &dev_priv->gmbus[dev_priv->crt_ddc_pin].adapter);
-	return NULL;
 }
 
 static enum drm_connector_status
-- 
1.7.4.1



More information about the dri-devel mailing list