drm: Don't initialize local ret variable when not needed
[deliverable/linux.git] / drivers / gpu / drm / drm_crtc_helper.c
index 974196ab7b2262b527508f0996ec9a184c678e92..3252e7067d8b3ea11ecfbcf47cab922c0919bf91 100644 (file)
@@ -518,7 +518,7 @@ int drm_crtc_helper_set_config(struct drm_mode_set *set)
        int count = 0, ro, fail = 0;
        struct drm_crtc_helper_funcs *crtc_funcs;
        struct drm_mode_set save_set;
-       int ret = 0;
+       int ret;
        int i;
 
        DRM_DEBUG_KMS("\n");
This page took 0.025114 seconds and 5 git commands to generate.