diff options
Diffstat (limited to 'drivers/gpu/nvgpu/os/linux/sync_sema_android.c')
-rw-r--r-- | drivers/gpu/nvgpu/os/linux/sync_sema_android.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/gpu/nvgpu/os/linux/sync_sema_android.c b/drivers/gpu/nvgpu/os/linux/sync_sema_android.c index 4dd10e6e..9598f2df 100644 --- a/drivers/gpu/nvgpu/os/linux/sync_sema_android.c +++ b/drivers/gpu/nvgpu/os/linux/sync_sema_android.c | |||
@@ -15,7 +15,6 @@ | |||
15 | * You should have received a copy of the GNU General Public License | 15 | * You should have received a copy of the GNU General Public License |
16 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | 16 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
17 | */ | 17 | */ |
18 | |||
19 | #include <linux/file.h> | 18 | #include <linux/file.h> |
20 | #include <linux/fs.h> | 19 | #include <linux/fs.h> |
21 | #include <linux/hrtimer.h> | 20 | #include <linux/hrtimer.h> |
@@ -324,8 +323,7 @@ struct sync_fence *gk20a_sync_fence_fdget(int fd) | |||
324 | return NULL; | 323 | return NULL; |
325 | 324 | ||
326 | for (i = 0; i < fence->num_fences; i++) { | 325 | for (i = 0; i < fence->num_fences; i++) { |
327 | struct fence *pt = fence->cbs[i].sync_pt; | 326 | struct sync_pt *spt = sync_pt_from_fence(fence->cbs[i].sync_pt); |
328 | struct sync_pt *spt = sync_pt_from_fence(pt); | ||
329 | struct sync_timeline *t; | 327 | struct sync_timeline *t; |
330 | 328 | ||
331 | if (spt == NULL) { | 329 | if (spt == NULL) { |