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:
Dave Airlie
2017-09-29 15:44:54 +10:00
committed by Alex Deucher
parent 4179cd8137
commit b08c3ca4e9
28 changed files with 100 additions and 246 deletions

View File

@@ -36,13 +36,12 @@
#include "engine.h"
bool dal_i2caux_construct_engine(
void dal_i2caux_construct_engine(
struct engine *engine,
struct dc_context *ctx)
{
engine->ddc = NULL;
engine->ctx = ctx;
return true;
}
void dal_i2caux_destruct_engine(