mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-23 05:56:14 -04:00
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: Colin Ian King <colin.king@canonical.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
committed by
Alex Deucher
parent
309182389e
commit
6c3e050433
@@ -1017,7 +1017,7 @@ enum dc_status dce112_add_stream_to_ctx(
|
||||
struct dc_state *new_ctx,
|
||||
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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user