diff options
author | Dave Airlie <airlied@redhat.com> | 2017-09-29 15:44:54 +1000 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-09-29 13:02:21 -0400 |
commit | b08c3ca4e90d03b3a120f4e60dba4b2b5e087433 (patch) | |
tree | a9ccc554e707c30a2e6ccaa6073d0d1b761bca89 /drivers/gpu/drm/amd/display/dc/i2caux/i2caux.h | |
parent | 4179cd81376112d627216580b09b803eb25e1635 (diff) |
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>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/i2caux/i2caux.h')
-rw-r--r-- | drivers/gpu/drm/amd/display/dc/i2caux/i2caux.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/i2caux/i2caux.h b/drivers/gpu/drm/amd/display/dc/i2caux/i2caux.h index bc20de3da1c4..64f51bb06915 100644 --- a/drivers/gpu/drm/amd/display/dc/i2caux/i2caux.h +++ b/drivers/gpu/drm/amd/display/dc/i2caux/i2caux.h @@ -97,7 +97,7 @@ struct i2caux { uint32_t default_i2c_hw_speed; }; -bool dal_i2caux_construct( +void dal_i2caux_construct( struct i2caux *i2caux, struct dc_context *ctx); |