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:
6ed13d8
)
gpu: pvr: Remove needless NULL check in BM_ImportMemory.
author
Janusz Sobczak
<janusz.sobczak@imgtec.com>
Mon, 9 Aug 2010 11:20:44 +0000
(13:20 +0200)
committer
Grazvydas Ignotas
<notasas@gmail.com>
Sun, 20 May 2012 18:09:41 +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
35337aa
..
dfddade
100644
(file)
--- a/
pvr/buffer_manager.c
+++ b/
pvr/buffer_manager.c
@@
-1317,7
+1317,7
@@
static IMG_BOOL BM_ImportMemory(void *pH, size_t uRequestSize,
return IMG_TRUE;
fail_dev_mem_alloc:
- if (pMapping
&& (pMapping->CpuVAddr || pMapping->hOSMemHandle)
) {
+ if (pMapping
->CpuVAddr || pMapping->hOSMemHandle
) {
if (pMapping->ui32Flags & PVRSRV_MEM_INTERLEAVED)
pMapping->uSize /= 2;