drm: fix brace placement
authorDave Airlie <airlied@redhat.com>
Thu, 28 Aug 2008 11:20:19 +0000 (21:20 +1000)
committerDave Airlie <airlied@redhat.com>
Tue, 23 Sep 2008 05:36:50 +0000 (15:36 +1000)
linux-core/drm_crtc_helper.c

index 71bdc44..b507315 100644 (file)
@@ -291,9 +291,8 @@ static int drm_pick_crtcs(struct drm_device *dev,
        best_crtcs[n] = NULL;
        best_crtc = NULL;
        best_score = drm_pick_crtcs(dev, best_crtcs, modes, n+1, width, height);
-       if (modes[n] == NULL) {
+       if (modes[n] == NULL)
                return best_score;
-       }
 
        crtcs = kmalloc(dev->mode_config.num_connector * sizeof(struct drm_crtc *), GFP_KERNEL);
        if (!crtcs)