summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/gpu/nvgpu/common/linux/ioctl_channel.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/ioctl_channel.c b/drivers/gpu/nvgpu/common/linux/ioctl_channel.c
index 01355b78..5cd6e7d4 100644
--- a/drivers/gpu/nvgpu/common/linux/ioctl_channel.c
+++ b/drivers/gpu/nvgpu/common/linux/ioctl_channel.c
@@ -977,11 +977,6 @@ static int nvgpu_ioctl_channel_get_user_syncpoint(struct channel_gk20a *ch,
977 return -EINVAL; 977 return -EINVAL;
978 } 978 }
979 979
980 if (g->aggressive_sync_destroy_thresh) {
981 nvgpu_err(g, "sufficient syncpoints not available");
982 return -EINVAL;
983 }
984
985 nvgpu_mutex_acquire(&ch->sync_lock); 980 nvgpu_mutex_acquire(&ch->sync_lock);
986 if (ch->user_sync) { 981 if (ch->user_sync) {
987 nvgpu_mutex_release(&ch->sync_lock); 982 nvgpu_mutex_release(&ch->sync_lock);