Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 282741
b: refs/heads/master
c: b5215ef
h: refs/heads/master
i:
  282739: 56288b9
v: v3
  • Loading branch information
Daniel Vetter authored and Dave Airlie committed Jan 9, 2012
1 parent c549a9c commit 50aaeb0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 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: f0afb5d443748ee91a34e3a13cb454b0047be9ec
refs/heads/master: b5215ef1a877cd81a2558f3ddbcf784671a27588
3 changes: 1 addition & 2 deletions trunk/drivers/gpu/drm/sis/sis_mm.c
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,6 @@ static int sis_drm_free(struct drm_device *dev, void *data, struct drm_file *fil
drm_sis_private_t *dev_priv = dev->dev_private;
drm_sis_mem_t *mem = data;
struct sis_memblock *obj;
int ret;

mutex_lock(&dev->struct_mutex);
obj = idr_find(&dev_priv->object_idr, mem->free);
Expand All @@ -193,7 +192,7 @@ static int sis_drm_free(struct drm_device *dev, void *data, struct drm_file *fil
mutex_unlock(&dev->struct_mutex);
DRM_DEBUG("free = 0x%lx\n", mem->free);

return ret;
return 0;
}

static int sis_fb_alloc(struct drm_device *dev, void *data,
Expand Down
3 changes: 1 addition & 2 deletions trunk/drivers/gpu/drm/via/via_mm.c
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,6 @@ int via_mem_free(struct drm_device *dev, void *data, struct drm_file *file_priv)
drm_via_private_t *dev_priv = dev->dev_private;
drm_via_mem_t *mem = data;
struct via_memblock *obj;
int ret;

mutex_lock(&dev->struct_mutex);
obj = idr_find(&dev_priv->object_idr, mem->index);
Expand All @@ -206,7 +205,7 @@ int via_mem_free(struct drm_device *dev, void *data, struct drm_file *file_priv)

DRM_DEBUG("free = 0x%lx\n", mem->index);

return ret;
return 0;
}


Expand Down

0 comments on commit 50aaeb0

Please sign in to comment.