Commit 7d323264 authored by Alan's avatar Alan Committed by Patrik Jakobsson

drm/gma500/mdfld_dsi: remove bogus if check

Both cases produce the same result. Kill the junk code.
Signed-off-by: default avatarAlan Cox <alan@linux.intel.com>
Signed-off-by: default avatarPatrik Jakobsson <patrik.r.jakobsson@gmail.com>
parent 7ccca1d5
...@@ -979,11 +979,7 @@ struct mdfld_dsi_encoder *mdfld_dsi_dpi_init(struct drm_device *dev, ...@@ -979,11 +979,7 @@ struct mdfld_dsi_encoder *mdfld_dsi_dpi_init(struct drm_device *dev,
return NULL; return NULL;
} }
if (dsi_connector->pipe)
dpi_output->panel_on = 0; dpi_output->panel_on = 0;
else
dpi_output->panel_on = 0;
dpi_output->dev = dev; dpi_output->dev = dev;
if (mdfld_get_panel_type(dev, pipe) != TC35876X) if (mdfld_get_panel_type(dev, pipe) != TC35876X)
dpi_output->p_funcs = p_funcs; dpi_output->p_funcs = p_funcs;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment