mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-05 19:31:57 -04:00
Revert "disp: msm: dsi: Add print info for DSI_CTRL"
This reverts commit 3a743de84d19295179568ab2f75f6018fd003445.
Fixes build error
techpack/display/msm/dsi/dsi_display.c:8542:27: error: unused variable 'ctrl' [
-Werror,-Wunused-variable]
8542 | struct dsi_display_ctrl *ctrl = &display->ctrl[0];
by reverting Motorola commit
942f7d4bcf
which also reduces log spam.
Change-Id: I3a394ecf8c452eecd367236e0b01f48e5b2d1b0a
Signed-off-by: Sevenrock <sevenrock@hotmail.de>
This commit is contained in:
parent
3cf96a6252
commit
e0b453a419
1 changed files with 1 additions and 4 deletions
|
|
@ -8550,7 +8550,6 @@ int dsi_display_prepare(struct dsi_display *display)
|
|||
{
|
||||
int rc = 0;
|
||||
struct dsi_display_mode *mode;
|
||||
struct dsi_display_ctrl *ctrl = &display->ctrl[0];
|
||||
|
||||
if (!display) {
|
||||
DSI_ERR("Invalid params\n");
|
||||
|
|
@ -8562,9 +8561,7 @@ int dsi_display_prepare(struct dsi_display *display)
|
|||
return -EINVAL;
|
||||
}
|
||||
|
||||
DSI_INFO("panel_name=%s ctrl-index=%d\n",
|
||||
display->panel->name, ctrl->ctrl->cell_index);
|
||||
|
||||
DSI_INFO("%s(%s)+\n", __func__, display->drm_conn->name);
|
||||
SDE_EVT32(SDE_EVTLOG_FUNC_ENTRY);
|
||||
mutex_lock(&display->display_lock);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue