summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 66237cd)
raw | patch | inline | side by side (parent: 66237cd)
author | Dave Airlie <airlied@redhat.com> | |
Thu, 28 Aug 2008 11:20:19 +0000 (21:20 +1000) | ||
committer | Dave Airlie <airlied@redhat.com> | |
Tue, 23 Sep 2008 05:36:50 +0000 (15:36 +1000) |
linux-core/drm_crtc_helper.c | patch | blob | history |
index 71bdc447eb532c6a8d8235f0f3227b15fae7c304..b507315580ab5cd05e867f7df0ba163c9d38123b 100644 (file)
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)