diff options
author | Robert Morell <rmorell@nvidia.com> | 2011-06-28 18:49:05 -0400 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2015-03-18 15:01:23 -0400 |
commit | f32da6c804d2ffb8cf5c2e3d2da806e4fcdcbb33 (patch) | |
tree | da439116d2d3eef67e6c4acf15babbae85fba20b /drivers/video/tegra/dc/dsi.c | |
parent | a5c65edf7de837408c222484b1dccdce61d1ddd3 (diff) |
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 <rmorell@nvidia.com>
Reviewed-on: http://git-master/r/39299
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>
Rebase-Id: Rf2005859d27a4501c68a2139a7f23450707076b8
Diffstat (limited to 'drivers/video/tegra/dc/dsi.c')
-rw-r--r-- | drivers/video/tegra/dc/dsi.c | 5 |
1 files changed, 1 insertions, 4 deletions
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) | |||
1210 | 1210 | ||
1211 | static int tegra_dsi_host_trigger(struct tegra_dc_dsi_data *dsi) | 1211 | static int tegra_dsi_host_trigger(struct tegra_dc_dsi_data *dsi) |
1212 | { | 1212 | { |
1213 | int status; | 1213 | int status = 0; |
1214 | u32 val; | ||
1215 | |||
1216 | status = 0; | ||
1217 | 1214 | ||
1218 | if (tegra_dsi_readl(dsi, DSI_TRIGGER)) { | 1215 | if (tegra_dsi_readl(dsi, DSI_TRIGGER)) { |
1219 | status = -EBUSY; | 1216 | status = -EBUSY; |