video: tegra: host: gk20a: remove unused variable
Jon Mayo [Fri, 8 Nov 2013 20:32:28 +0000 (12:32 -0800)]
Fix build warning from an unused variable.

Change-Id: Ia47ff20292d610963266b1113490c89ffdfe494d
Signed-off-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-on: http://git-master/r/328429
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Kevin Huang (Eng-SW) <kevinh@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>

drivers/video/tegra/host/gk20a/gk20a.c

index 42ac3df..1028115 100644 (file)
@@ -885,7 +885,6 @@ static struct thermal_cooling_device_ops tegra_gpu_cooling_ops = {
 
 static void gk20a_set_railgating(struct gk20a *g, int new_status)
 {
-       struct nvhost_device_data *pdata = platform_get_drvdata(g->dev);
        enum pm_qos_flags_status stat;
 
        stat = dev_pm_qos_flags(dev_from_gk20a(g), PM_QOS_FLAG_NO_POWER_OFF);