git.openpandora.org
/
sgx.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e73ef8
)
gpu: pvr: Remove needless NULL check in BM_CreateHeap.
author
Janusz Sobczak
<janusz.sobczak@imgtec.com>
Mon, 9 Aug 2010 11:21:27 +0000
(13:21 +0200)
committer
Grazvydas Ignotas
<notasas@gmail.com>
Sun, 20 May 2012 18:09:42 +0000
(21:09 +0300)
Signed-off-by: Janusz Sobczak <janusz.sobczak@imgtec.com>
Signed-off-by: Imre Deak <imre.deak@nokia.com>
pvr/buffer_manager.c
patch
|
blob
|
history
diff --git
a/pvr/buffer_manager.c
b/pvr/buffer_manager.c
index
8381958
..
8f1190c
100644
(file)
--- a/
pvr/buffer_manager.c
+++ b/
pvr/buffer_manager.c
@@
-696,9
+696,6
@@
void *BM_CreateHeap(void *hBMContext,
PVR_DPF(PVR_DBG_MESSAGE, "BM_CreateHeap");
- if (!pBMContext)
- return NULL;
-
if (pBMContext->ui32RefCount > 0) {
psBMHeap = pBMContext->psBMHeap;