diff options
Diffstat (limited to 'drivers/gpu/nvgpu')
-rw-r--r-- | drivers/gpu/nvgpu/common/sync/channel_sync.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/gpu/nvgpu/common/sync/channel_sync.c b/drivers/gpu/nvgpu/common/sync/channel_sync.c index a88092e1..3829d257 100644 --- a/drivers/gpu/nvgpu/common/sync/channel_sync.c +++ b/drivers/gpu/nvgpu/common/sync/channel_sync.c | |||
@@ -1,7 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * GK20A Channel Synchronization Abstraction | 2 | * GK20A Channel Synchronization Abstraction |
3 | * | 3 | * |
4 | * Copyright (c) 2014-2018, NVIDIA CORPORATION. All rights reserved. | 4 | * Copyright (c) 2014-2021, NVIDIA CORPORATION. All rights reserved. |
5 | * | 5 | * |
6 | * Permission is hereby granted, free of charge, to any person obtaining a | 6 | * Permission is hereby granted, free of charge, to any person obtaining a |
7 | * copy of this software and associated documentation files (the "Software"), | 7 | * copy of this software and associated documentation files (the "Software"), |
@@ -596,7 +596,6 @@ channel_sync_semaphore_create(struct channel_gk20a *c, bool user_managed) | |||
596 | { | 596 | { |
597 | struct nvgpu_channel_sync_semaphore *sema; | 597 | struct nvgpu_channel_sync_semaphore *sema; |
598 | struct gk20a *g = c->g; | 598 | struct gk20a *g = c->g; |
599 | char pool_name[20]; | ||
600 | int asid = -1; | 599 | int asid = -1; |
601 | int err; | 600 | int err; |
602 | 601 | ||
@@ -610,7 +609,6 @@ channel_sync_semaphore_create(struct channel_gk20a *c, bool user_managed) | |||
610 | } | 609 | } |
611 | sema->c = c; | 610 | sema->c = c; |
612 | 611 | ||
613 | sprintf(pool_name, "semaphore_pool-%d", c->chid); | ||
614 | sema->pool = c->vm->sema_pool; | 612 | sema->pool = c->vm->sema_pool; |
615 | 613 | ||
616 | if (c->vm->as_share != NULL) { | 614 | if (c->vm->as_share != NULL) { |