projects
/
profile
/
ivi
/
libdrm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
66237cd
)
drm: fix brace placement
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
diff --git
a/linux-core/drm_crtc_helper.c
b/linux-core/drm_crtc_helper.c
index
71bdc44
..
b507315
100644
(file)
--- a/
linux-core/drm_crtc_helper.c
+++ b/
linux-core/drm_crtc_helper.c
@@
-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)