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:
303be91
)
gpu: pvr: Remove needless NULL check in PVRSRVWrapExtMemoryKM.
author
Janusz Sobczak
<janusz.sobczak@imgtec.com>
Mon, 9 Aug 2010 11:21:36 +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/devicemem.c
patch
|
blob
|
history
diff --git
a/pvr/devicemem.c
b/pvr/devicemem.c
index
72ebe6b
..
0fcd2e4
100644
(file)
--- a/
pvr/devicemem.c
+++ b/
pvr/devicemem.c
@@
-833,11
+833,8
@@
enum PVRSRV_ERROR PVRSRVWrapExtMemoryKM(void *hDevCookie,
return PVRSRV_OK;
ErrorExitPhase4:
- if (psMemInfo) {
- FreeDeviceMem(psMemInfo);
-
- psMemInfo = NULL;
- }
+ FreeDeviceMem(psMemInfo);
+ psMemInfo = NULL;
ErrorExitPhase3:
if (psMemInfo) {