video: tegra: dsi: fix unused variable warning
Jon Mayo [Wed, 3 Aug 2011 01:51:03 +0000 (18:51 -0700)]
This change removes the unused variable 'base_clk' warning.

Bug 850852

Original-Change-Id: I055313030fcecf1bce64e68f962995aa70c4359d
Reviewed-on: http://git-master/r/46419
Tested-by: Jonathan Mayo <jmayo@nvidia.com>
Reviewed-by: Kevin Huang <kevinh@nvidia.com>
Reviewed-by: Jonathan Mayo <jmayo@nvidia.com>

Rebase-Id: R33afa9192e2e74f1a7b7ff64ce74233d251e8c52

drivers/video/tegra/dc/dsi.c

index d60fb08..5749a1d 100644 (file)
@@ -946,7 +946,6 @@ static void tegra_dsi_set_dsi_clk(struct tegra_dc *dc,
 static void tegra_dsi_hs_clk_out_enable(struct tegra_dc_dsi_data *dsi)
 {
        u32 val;
-       struct clk *base_clk;
 
        val = tegra_dsi_readl(dsi, DSI_CONTROL);
        val &= ~DSI_CONTROL_HS_CLK_CTRL(1);
@@ -983,7 +982,6 @@ static void tegra_dsi_hs_clk_out_disable(struct tegra_dc *dc,
                                                struct tegra_dc_dsi_data *dsi)
 {
        u32 val;
-       struct clk *base_clk;
 
        if (dsi->status.dc_stream == DSI_DC_STREAM_ENABLE)
                tegra_dsi_stop_dc_stream(dc, dsi);