video: tegra: host: fix compile time warnings
Deepak Nibade [Mon, 2 Dec 2013 15:13:14 +0000 (20:13 +0530)]
fix kernel compile time warnings of unused variable

Change-Id: I95c46d3583320318a94cb8f29abe942ad0354552
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/337292
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Shridhar Rasal <srasal@nvidia.com>
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>

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

index d821118..822d379 100644 (file)
@@ -173,7 +173,6 @@ static int channel_gk20a_set_schedule_params(struct channel_gk20a *c,
                                u32 timeslice_timeout)
 {
        void *inst_ptr;
-       unsigned long channel_timeout;
        int shift = 3;
        int value = timeslice_timeout;
 
index ebf263d..d6b5777 100644 (file)
@@ -261,8 +261,6 @@ static int pmu_enable(struct pmu_gk20a *pmu, bool enable)
 {
        struct gk20a *g = pmu->g;
        u32 pmc_enable;
-       unsigned long end_jiffies = jiffies +
-               msecs_to_jiffies(2000);
        int err;
 
        nvhost_dbg_fn("");