lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20160406134102.9429.70772.stgit@localhost.localdomain>
Date:	Wed, 06 Apr 2016 14:41:09 +0100
From:	Alan <alan@...ux.intel.com>
To:	dri-devel@...ts.freedesktop.org, patrik.r.jakobsson@...il.com,
	linux-kernel@...r.kernel.org
Subject: [PATCH] mdfld_dsi: remove bogus if check

From: Alan <gnomes@...rguk.ukuu.org.uk>

Both cases produce the same result. Kill the junk code.

Signed-off-by: Alan Cox <alan@...ux.intel.com>
---
 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c |    6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/drivers/gpu/drm/gma500/mdfld_dsi_dpi.c b/drivers/gpu/drm/gma500/mdfld_dsi_dpi.c
index 7cd87a0..a05c0206 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;

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ