reservation: Remove shadowing local variable 'ret'
authorMichel Dänzer <[email protected]>
Thu, 22 Jan 2015 07:00:17 +0000 (16:00 +0900)
committerSumit Semwal <[email protected]>
Thu, 22 Jan 2015 10:59:31 +0000 (16:29 +0530)
commit4eb2440ed60fb5793f7aa6da89b3d517cc59de43
tree006c9a11c5cc0e534bed38ea71c108ee3ef0d8fb
parent847b19a39e4c9b5e74c40f0842c48b41664cb43c
reservation: Remove shadowing local variable 'ret'

It was causing the return value of fence_is_signaled to be ignored, making
reservation objects signal too early.

Cc: [email protected]
Reviewed-by: Maarten Lankhorst <[email protected]>
Reviewed-by: Alex Deucher <[email protected]>
Signed-off-by: Michel Dänzer <[email protected]>
Signed-off-by: Sumit Semwal <[email protected]>
drivers/dma-buf/reservation.c