struct dc_stream_state *stream,
                struct dc_crtc_timing_adjust *adjust)
 {
-       int i = 0;
+       int i;
        bool ret = false;
 
        stream->adjust.v_total_max = adjust->v_total_max;
 {
        /* TODO: Support multiple streams */
        const struct dc_stream_state *stream = streams[0];
-       int i = 0;
+       int i;
        bool ret = false;
        struct crtc_position position;
 
                enum dc_dynamic_expansion option)
 {
        /* OPP FMT dyn expansion updates*/
-       int i = 0;
+       int i;
        struct pipe_ctx *pipe_ctx;
 
        for (i = 0; i < MAX_PIPES; i++) {
 
 bool dc_stream_set_gamut_remap(struct dc *dc, const struct dc_stream_state *stream)
 {
-       int i = 0;
+       int i;
        bool ret = false;
        struct pipe_ctx *pipes;
 
 
 bool dc_stream_program_csc_matrix(struct dc *dc, struct dc_stream_state *stream)
 {
-       int i = 0;
+       int i;
        bool ret = false;
        struct pipe_ctx *pipes;
 
                int num_streams,
                const struct dc_static_screen_params *params)
 {
-       int i = 0;
-       int j = 0;
+       int i, j;
        struct pipe_ctx *pipes_affected[MAX_PIPES];
        int num_pipes_affected = 0;
 
 static void apply_ctx_interdependent_lock(struct dc *dc, struct dc_state *context,
                                          struct dc_stream_state *stream, bool lock)
 {
-       int i = 0;
+       int i;
 
        /* Checks if interdependent update function pointer is NULL or not, takes care of DCE110 case */
        if (dc->hwss.interdependent_update_lock)
                struct dc *dc,
                struct dc_state *ctx)
 {
-       int i = 0, multisync_count = 0;
+       int i, multisync_count = 0;
        int pipe_count = dc->res_pool->pipe_count;
        struct pipe_ctx *multisync_pipes[MAX_PIPES] = { NULL };