mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
drm/omap: Delete useless kfree code
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
This commit is contained in:
parent
dfd2edccfd
commit
010dbfbe7b
1 changed files with 0 additions and 1 deletions
|
@ -254,6 +254,5 @@ struct tcm *sita_init(u16 width, u16 height)
|
|||
return tcm;
|
||||
|
||||
error:
|
||||
kfree(tcm);
|
||||
return NULL;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue