projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ef87732
)
sync: clean up compiler warnings
author
Erik Gilling
<konkers@android.com>
Fri, 24 Aug 2012 20:48:34 +0000
(13:48 -0700)
committer
黄涛
<huangtao@rock-chips.com>
Fri, 22 Feb 2013 09:47:06 +0000
(17:47 +0800)
Change-Id: I8a2ec5db652c61fd04571402067b37273b91e78f
Signed-off-by: Erik Gilling <konkers@android.com>
drivers/base/sync.c
patch
|
blob
|
history
diff --git
a/drivers/base/sync.c
b/drivers/base/sync.c
index 8c72dbb179196764f06165d65d903c476803b302..7fcc0092ac4e72908154ee5f30a5c74e08318a56 100644
(file)
--- 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))