projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dfd2edc
)
drm/omap: Delete useless kfree code
author
Zheng Yongjun
<zhengyongjun3@huawei.com>
Mon, 14 Dec 2020 13:46:28 +0000
(21:46 +0800)
committer
Tomi Valkeinen
<tomi.valkeinen@ti.com>
Tue, 15 Dec 2020 15:19:54 +0000
(17:19 +0200)
The parameter of kfree function is NULL, so kfree code is useless, delete it.
Signed-off-by: Zheng Yongjun <zhengyongjun3@huawei.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Link:
https://patchwork.freedesktop.org/patch/msgid/20201214134628.4937-1-zhengyongjun3@huawei.com
drivers/gpu/drm/omapdrm/tcm-sita.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/omapdrm/tcm-sita.c
b/drivers/gpu/drm/omapdrm/tcm-sita.c
index
9e1acbd
..
8338dc6
100644
(file)
--- a/
drivers/gpu/drm/omapdrm/tcm-sita.c
+++ b/
drivers/gpu/drm/omapdrm/tcm-sita.c
@@
-254,6
+254,5
@@
struct tcm *sita_init(u16 width, u16 height)
return tcm;
error:
- kfree(tcm);
return NULL;
}