From 5d1bc19902e410c0683095fa100144f4b2c2ca6f Mon Sep 17 00:00:00 2001 From: Erik Gilling Date: Fri, 24 Aug 2012 13:48:34 -0700 Subject: [PATCH] sync: clean up compiler warnings Change-Id: I8a2ec5db652c61fd04571402067b37273b91e78f Signed-off-by: Erik Gilling --- drivers/base/sync.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/base/sync.c b/drivers/base/sync.c index 8c72dbb17919..7fcc0092ac4e 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)) -- 2.34.1