diff options
Diffstat (limited to 'drivers/gpu/nvgpu/common/sync/channel_sync.c')
-rw-r--r-- | drivers/gpu/nvgpu/common/sync/channel_sync.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/gpu/nvgpu/common/sync/channel_sync.c b/drivers/gpu/nvgpu/common/sync/channel_sync.c index b40de834..a88092e1 100644 --- a/drivers/gpu/nvgpu/common/sync/channel_sync.c +++ b/drivers/gpu/nvgpu/common/sync/channel_sync.c | |||
@@ -66,7 +66,6 @@ int channel_sync_syncpt_gen_wait_cmd(struct channel_gk20a *c, | |||
66 | err = gk20a_channel_alloc_priv_cmdbuf(c, | 66 | err = gk20a_channel_alloc_priv_cmdbuf(c, |
67 | c->g->ops.fifo.get_syncpt_wait_cmd_size(), wait_cmd); | 67 | c->g->ops.fifo.get_syncpt_wait_cmd_size(), wait_cmd); |
68 | if (err != 0) { | 68 | if (err != 0) { |
69 | nvgpu_err(c->g, "not enough priv cmd buffer space"); | ||
70 | return err; | 69 | return err; |
71 | } | 70 | } |
72 | } | 71 | } |
@@ -464,8 +463,6 @@ static int channel_sync_semaphore_incr_common( | |||
464 | incr_cmd_size = c->g->ops.fifo.get_sema_incr_cmd_size(); | 463 | incr_cmd_size = c->g->ops.fifo.get_sema_incr_cmd_size(); |
465 | err = gk20a_channel_alloc_priv_cmdbuf(c, incr_cmd_size, incr_cmd); | 464 | err = gk20a_channel_alloc_priv_cmdbuf(c, incr_cmd_size, incr_cmd); |
466 | if (err) { | 465 | if (err) { |
467 | nvgpu_err(c->g, | ||
468 | "not enough priv cmd buffer space"); | ||
469 | goto clean_up_sema; | 466 | goto clean_up_sema; |
470 | } | 467 | } |
471 | 468 | ||