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:
b71a3c1
)
gpu: pvr: Remove needless NULL check in WrapMemory.
author
Janusz Sobczak
<janusz.sobczak@imgtec.com>
Mon, 9 Aug 2010 11:21:19 +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
cc018cf
..
8381958
100644
(file)
--- a/
pvr/buffer_manager.c
+++ b/
pvr/buffer_manager.c
@@
-324,7
+324,7
@@
fail_cleanup:
if (ui32BaseOffset && pBuf->hOSMemHandle)
OSReleaseSubMemHandle(pBuf->hOSMemHandle, uFlags);
- if (pMapping
&& (pMapping->CpuVAddr || pMapping->hOSMemHandle)
)
+ if (pMapping
->CpuVAddr || pMapping->hOSMemHandle
)
switch (pMapping->eCpuMemoryOrigin) {
case hm_wrapped:
OSUnReservePhys(pMapping->CpuVAddr, pMapping->uSize,