diff options
author | Alan <gnomes@lxorguk.ukuu.org.uk> | 2016-04-06 16:41:09 +0300 |
---|---|---|
committer | Patrik Jakobsson <patrik.r.jakobsson@gmail.com> | 2016-04-08 14:42:31 +0300 |
commit | 7d323264bec07cd71df47333c6cd8f6b36987821 (patch) | |
tree | fd6aeab0229b4fef75ace85a0999349ae0cc8e62 /drivers/gpu/drm/gma500 | |
parent | 7ccca1d5bf69fdd1d3c5fcf84faf1659a6e0ad11 (diff) | |
download | linux-7d323264bec07cd71df47333c6cd8f6b36987821.tar.xz |
drm/gma500/mdfld_dsi: remove bogus if check
Both cases produce the same result. Kill the junk code.
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
Diffstat (limited to 'drivers/gpu/drm/gma500')
-rw-r--r-- | drivers/gpu/drm/gma500/mdfld_dsi_dpi.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/gpu/drm/gma500/mdfld_dsi_dpi.c b/drivers/gpu/drm/gma500/mdfld_dsi_dpi.c index 7cd87a0c2385..a05c020602bd 100644 --- a/drivers/gpu/drm/gma500/mdfld_dsi_dpi.c +++ b/drivers/gpu/drm/gma500/mdfld_dsi_dpi.c @@ -979,11 +979,7 @@ struct mdfld_dsi_encoder *mdfld_dsi_dpi_init(struct drm_device *dev, return NULL; } - if (dsi_connector->pipe) - dpi_output->panel_on = 0; - else - dpi_output->panel_on = 0; - + dpi_output->panel_on = 0; dpi_output->dev = dev; if (mdfld_get_panel_type(dev, pipe) != TC35876X) dpi_output->p_funcs = p_funcs; |