Skip to content

Commit

Permalink
drm/gma500/mdfld_dsi: remove bogus if check
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Alan authored and Patrik Jakobsson committed Apr 8, 2016
1 parent 7ccca1d commit 7d32326
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions drivers/gpu/drm/gma500/mdfld_dsi_dpi.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 7d32326

Please sign in to comment.