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:
Zheng Yongjun 2020-12-14 21:46:28 +08:00 committed by Tomi Valkeinen
parent dfd2edccfd
commit 010dbfbe7b

View File

@ -254,6 +254,5 @@ struct tcm *sita_init(u16 width, u16 height)
return tcm;
error:
kfree(tcm);
return NULL;
}