Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 329510
b: refs/heads/master
c: 33cce6e
h: refs/heads/master
v: v3
  • Loading branch information
Peter Senna Tschudin authored and Dave Airlie committed Oct 1, 2012
1 parent 3b41571 commit ef6bfe7
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 3184009c36da413724f283e3c7ac9cc60c623bc4
refs/heads/master: 33cce6e9801f7d0184a636e9096a7cf7f8237ff9
5 changes: 1 addition & 4 deletions trunk/drivers/gpu/drm/ttm/ttm_page_alloc_dma.c
Original file line number Diff line number Diff line change
Expand Up @@ -1060,7 +1060,7 @@ int ttm_dma_page_alloc_init(struct ttm_mem_global *glob, unsigned max_pages)

_manager = kzalloc(sizeof(*_manager), GFP_KERNEL);
if (!_manager)
goto err_manager;
goto err;

mutex_init(&_manager->lock);
INIT_LIST_HEAD(&_manager->pools);
Expand All @@ -1078,9 +1078,6 @@ int ttm_dma_page_alloc_init(struct ttm_mem_global *glob, unsigned max_pages)
}
ttm_dma_pool_mm_shrink_init(_manager);
return 0;
err_manager:
kfree(_manager);
_manager = NULL;
err:
return ret;
}
Expand Down

0 comments on commit ef6bfe7

Please sign in to comment.