drm: fix brace placement

main
Dave Airlie 2008-08-28 21:20:19 +10:00
parent 66237cd3c2
commit a2216491c6
1 changed files with 1 additions and 2 deletions

View 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)