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
@ -254,6 +254,5 @@ struct tcm *sita_init(u16 width, u16 height)
|
||||
return tcm;
|
||||
|
||||
error:
|
||||
kfree(tcm);
|
||||
return NULL;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user