const struct dc_link *link = aconnector->dc_link;
        struct amdgpu_device *adev = connector->dev->dev_private;
        struct amdgpu_display_manager *dm = &adev->dm;
+
 #if defined(CONFIG_BACKLIGHT_CLASS_DEVICE) ||\
        defined(CONFIG_BACKLIGHT_CLASS_DEVICE_MODULE)
 
                if (aconnector && enable) {
                        // Make sure fake sink is created in plug-in scenario
                        new_con_state = drm_atomic_get_connector_state(state,
-                                                                   &aconnector->base);
+                                                                   &aconnector->base);
 
                        if (IS_ERR(new_con_state)) {
                                ret = PTR_ERR_OR_ZERO(new_con_state);
 
                return DC_ERROR_UNEXPECTED;
 
        if (dc->res_pool->funcs->validate_global) {
-                       result = dc->res_pool->funcs->validate_global(dc, new_ctx);
-                       if (result != DC_OK)
-                               return result;
+               result = dc->res_pool->funcs->validate_global(dc, new_ctx);
+               if (result != DC_OK)
+                       return result;
        }
 
        for (i = 0; i < new_ctx->stream_count; i++) {