mirror of
https://github.com/torvalds/linux.git
synced 2026-04-27 02:52:27 -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
@@ -423,7 +423,7 @@ void dal_i2caux_release_engine(
|
||||
engine->ddc = NULL;
|
||||
}
|
||||
|
||||
bool dal_i2caux_construct(
|
||||
void dal_i2caux_construct(
|
||||
struct i2caux *i2caux,
|
||||
struct dc_context *ctx)
|
||||
{
|
||||
@@ -451,8 +451,6 @@ bool dal_i2caux_construct(
|
||||
i2caux->default_i2c_hw_speed = DEFAULT_I2C_HW_SPEED;
|
||||
i2caux->default_i2c_sw_speed = DEFAULT_I2C_SW_SPEED;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
void dal_i2caux_destruct(
|
||||
|
||||
Reference in New Issue
Block a user