Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 254731
b: refs/heads/master
c: d61a068
h: refs/heads/master
i:
  254729: 05080b1
  254727: 6e0cc25
v: v3
  • Loading branch information
Ben Skeggs authored and Dave Airlie committed Jul 7, 2011
1 parent f6bbf3f commit e694646
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ccd6895d401efad0c0e41d0e93fba4ef3085e268
refs/heads/master: d61a06862ba8c14466e1dd718cac460da0465ddd
3 changes: 0 additions & 3 deletions trunk/drivers/gpu/drm/drm_crtc.c
Original file line number Diff line number Diff line change
Expand Up @@ -886,9 +886,6 @@ int drm_mode_group_init(struct drm_device *dev, struct drm_mode_group *group)
total_objects += dev->mode_config.num_connector;
total_objects += dev->mode_config.num_encoder;

if (total_objects == 0)
return -EINVAL;

group->id_list = kzalloc(total_objects * sizeof(uint32_t), GFP_KERNEL);
if (!group->id_list)
return -ENOMEM;
Expand Down

0 comments on commit e694646

Please sign in to comment.