summaryrefslogtreecommitdiff
path: root/drivers/base
diff options
context:
space:
mode:
authorErik Gilling <konkers@android.com>2012-08-24 13:48:34 -0700
committerVarun Wadekar <vwadekar@nvidia.com>2012-09-18 13:55:39 +0530
commit345346d25920012b354962fd6fcdeb83164cf283 (patch)
treeb32b81594673e273498079c7f546d5f62d50435e /drivers/base
parent80dc3b853462ef33445920e3315fbce7d311c6e7 (diff)
sync: clean up compiler warnings
Change-Id: I8a2ec5db652c61fd04571402067b37273b91e78f Signed-off-by: Erik Gilling <konkers@android.com>
Diffstat (limited to 'drivers/base')
-rw-r--r--drivers/base/sync.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/base/sync.c b/drivers/base/sync.c
index 7028b49a2d66..1535b4176d79 100644
--- a/drivers/base/sync.c
+++ b/drivers/base/sync.c
@@ -87,9 +87,6 @@ static void sync_timeline_free(struct kref *kref)
void sync_timeline_destroy(struct sync_timeline *obj)
{
- unsigned long flags;
- bool needs_freeing;
-
obj->destroyed = true;
/*
@@ -117,7 +114,6 @@ static void sync_timeline_remove_pt(struct sync_pt *pt)
{
struct sync_timeline *obj = pt->parent;
unsigned long flags;
- bool needs_freeing = false;
spin_lock_irqsave(&obj->active_list_lock, flags);
if (!list_empty(&pt->active_list))