mirror of
https://github.com/torvalds/linux.git
synced 2026-04-24 01:25:49 -04:00
amdgpu/dc: remove pointless returns in the i2caux constructor paths. (v2)
There was lots of return true, and error checking that was never used in these paths. Just remove it all. v2: I missed one return 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
4179cd8137
commit
b08c3ca4e9
@@ -555,15 +555,13 @@ bool dal_aux_engine_submit_request(
|
||||
return result;
|
||||
}
|
||||
|
||||
bool dal_aux_engine_construct(
|
||||
void dal_aux_engine_construct(
|
||||
struct aux_engine *engine,
|
||||
struct dc_context *ctx)
|
||||
{
|
||||
if (!dal_i2caux_construct_engine(&engine->base, ctx))
|
||||
return false;
|
||||
dal_i2caux_construct_engine(&engine->base, ctx);
|
||||
engine->delay = 0;
|
||||
engine->max_defer_write_retry = 0;
|
||||
return true;
|
||||
}
|
||||
|
||||
void dal_aux_engine_destruct(
|
||||
|
||||
Reference in New Issue
Block a user