mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-28 21:46:02 -04:00
amdgpu/dc: make dce transform constructor void
This never returns anything but true. Signed-off-by: Dave Airlie <airlied@redhat.com> Reviewed-by: Harry Wentland <harry.wentland@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
committed by
Alex Deucher
parent
9cf29399f6
commit
5fb005c458
@@ -662,15 +662,10 @@ static struct transform *dce120_transform_create(
|
||||
if (!transform)
|
||||
return NULL;
|
||||
|
||||
if (dce_transform_construct(transform, ctx, inst,
|
||||
&xfm_regs[inst], &xfm_shift, &xfm_mask)) {
|
||||
transform->lb_memory_size = 0x1404; /*5124*/
|
||||
return &transform->base;
|
||||
}
|
||||
|
||||
BREAK_TO_DEBUGGER();
|
||||
kfree(transform);
|
||||
return NULL;
|
||||
dce_transform_construct(transform, ctx, inst,
|
||||
&xfm_regs[inst], &xfm_shift, &xfm_mask);
|
||||
transform->lb_memory_size = 0x1404; /*5124*/
|
||||
return &transform->base;
|
||||
}
|
||||
|
||||
static void dce120_destroy_resource_pool(struct resource_pool **pool)
|
||||
|
||||
Reference in New Issue
Block a user