diff options
| -rw-r--r-- | drivers/staging/android/sync.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/staging/android/sync.c b/drivers/staging/android/sync.c index e7b2e0234196..69139ce7420d 100644 --- a/drivers/staging/android/sync.c +++ b/drivers/staging/android/sync.c | |||
| @@ -199,7 +199,6 @@ struct sync_fence *sync_fence_create(const char *name, struct sync_pt *pt) | |||
| 199 | fence->num_fences = 1; | 199 | fence->num_fences = 1; |
| 200 | atomic_set(&fence->status, 1); | 200 | atomic_set(&fence->status, 1); |
| 201 | 201 | ||
| 202 | fence_get(&pt->base); | ||
| 203 | fence->cbs[0].sync_pt = &pt->base; | 202 | fence->cbs[0].sync_pt = &pt->base; |
| 204 | fence->cbs[0].fence = fence; | 203 | fence->cbs[0].fence = fence; |
| 205 | if (fence_add_callback(&pt->base, &fence->cbs[0].cb, | 204 | if (fence_add_callback(&pt->base, &fence->cbs[0].cb, |
