Commit 84288db5 authored by Gustavo Padovan's avatar Gustavo Padovan Committed by Greg Kroah-Hartman

staging/android: remove pointless sync_timeline_signal at destroy phase

All changes to timeline value come through the user via
sync_timeline_signal() calls. When sync_timeline_destroy() is called no
changes on timeline->value happens hence call sync_timeline_signal() with
no increment is pointless.
Signed-off-by: default avatarGustavo Padovan <gustavo.padovan@collabora.co.uk>
Reviewed-by: default avatarMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent e6a0cb48
...@@ -90,10 +90,6 @@ void sync_timeline_destroy(struct sync_timeline *obj) ...@@ -90,10 +90,6 @@ void sync_timeline_destroy(struct sync_timeline *obj)
*/ */
smp_wmb(); smp_wmb();
/*
* signal any children that their parent is going away.
*/
sync_timeline_signal(obj);
sync_timeline_put(obj); sync_timeline_put(obj);
} }
EXPORT_SYMBOL(sync_timeline_destroy); EXPORT_SYMBOL(sync_timeline_destroy);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment