[PATCH 2/7] drm/amdgpu: remove duplicated job free
Chunming Zhou
David1.Zhou at amd.com
Wed Jun 29 08:09:36 UTC 2016
Change-Id: I342f5993766a3eb5be1116a0f6846fe4a445fd30
Signed-off-by: Chunming Zhou <David1.Zhou at amd.com>
---
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
index d16ed26..5886768 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
@@ -577,8 +577,6 @@ static void amdgpu_cs_parser_fini(struct amdgpu_cs_parser *parser, int error, bo
for (i = 0; i < parser->nchunks; i++)
drm_free_large(parser->chunks[i].kdata);
kfree(parser->chunks);
- if (parser->job)
- amdgpu_job_free(parser->job);
amdgpu_bo_unref(&parser->uf_entry.robj);
}
--
1.9.1
More information about the amd-gfx
mailing list