Commit 6c3e0504 authored by Colin Ian King's avatar Colin Ian King Committed by Alex Deucher

drm/amd/display: remove redundant initialization of variable result

The variable result is being initialized with a value that is never read
and it is being updated later with a new value.  The initialization is
redundant and can be removed.
Signed-off-by: default avatarColin Ian King <colin.king@canonical.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 30918238
...@@ -1017,7 +1017,7 @@ enum dc_status dce112_add_stream_to_ctx( ...@@ -1017,7 +1017,7 @@ enum dc_status dce112_add_stream_to_ctx(
struct dc_state *new_ctx, struct dc_state *new_ctx,
struct dc_stream_state *dc_stream) struct dc_stream_state *dc_stream)
{ {
enum dc_status result = DC_ERROR_UNEXPECTED; enum dc_status result;
result = resource_map_pool_resources(dc, new_ctx, dc_stream); result = resource_map_pool_resources(dc, new_ctx, dc_stream);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment