From f32da6c804d2ffb8cf5c2e3d2da806e4fcdcbb33 Mon Sep 17 00:00:00 2001 From: Robert Morell Date: Tue, 28 Jun 2011 15:49:05 -0700 Subject: video: tegra: Remove unused variable 'val' This change removes the unused variable 'val' to fix the warning: drivers/video/tegra/dc/dsi.c: In function 'tegra_dsi_host_trigger': drivers/video/tegra/dc/dsi.c:1214: warning: unused variable 'val' Original-Change-Id: I5b602299c11cb37b6c803245ec6d03b0a512695d Signed-off-by: Robert Morell Reviewed-on: http://git-master/r/39299 Reviewed-by: Varun Colbert Tested-by: Varun Colbert Rebase-Id: Rf2005859d27a4501c68a2139a7f23450707076b8 --- drivers/video/tegra/dc/dsi.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'drivers/video/tegra/dc/dsi.c') diff --git a/drivers/video/tegra/dc/dsi.c b/drivers/video/tegra/dc/dsi.c index 62aa1ab82..f90036ebd 100644 --- a/drivers/video/tegra/dc/dsi.c +++ b/drivers/video/tegra/dc/dsi.c @@ -1210,10 +1210,7 @@ static bool tegra_dsi_is_controller_idle(struct tegra_dc_dsi_data *dsi) static int tegra_dsi_host_trigger(struct tegra_dc_dsi_data *dsi) { - int status; - u32 val; - - status = 0; + int status = 0; if (tegra_dsi_readl(dsi, DSI_TRIGGER)) { status = -EBUSY; -- cgit v1.2.2