summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJassi Brar <jaswinder.singh@linaro.org>2012-06-13 09:32:10 +0800
committerAndy Green <andy.green@linaro.org>2012-06-13 21:35:41 +0800
commit1b7216abc8cdf61a49310c4640df81d365ee99c2 (patch)
tree0992cd9e6229e8e580836a1cd3740c9bc9a99442
parent292d32058e017a6c30325a3e15f0786ca0e672f0 (diff)
OMAP2: DSS: Drop unused member mode of hdmitracking-topic-dss-hdmi
It HDMI audio gets the configuration via struct hdmi's 'ip_data' member. This 'mode' is redundant and is never touched other than being initialized this once. Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
-rw-r--r--drivers/video/omap2/dss/hdmi.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/video/omap2/dss/hdmi.c b/drivers/video/omap2/dss/hdmi.c
index cbc38bc091f..fb0007f4561 100644
--- a/drivers/video/omap2/dss/hdmi.c
+++ b/drivers/video/omap2/dss/hdmi.c
@@ -66,7 +66,6 @@ static struct {
struct hdmi_ip_data ip_data;
int hdmi_irq;
int hpd;
- int mode;
struct clk *sys_clk;
@@ -637,9 +636,6 @@ void omapdss_hdmi_display_set_timing(struct omap_dss_device *dssdev)
cm = hdmi_get_code(&dssdev->panel.timings);
- /* HDMI audio looks at this */
- hdmi.mode = cm.mode;
-
if (cm.code == -1) {
hdmi.ip_data.cfg.cm.code = 0;
/* Assume VESA timing if non-standard */