Commit 010dbfbe authored by Zheng Yongjun's avatar Zheng Yongjun Committed by Tomi Valkeinen

drm/omap: Delete useless kfree code

The parameter of kfree function is NULL, so kfree code is useless, delete it.
Signed-off-by: default avatarZheng Yongjun <zhengyongjun3@huawei.com>
Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20201214134628.4937-1-zhengyongjun3@huawei.com
parent dfd2edcc
......@@ -254,6 +254,5 @@ struct tcm *sita_init(u16 width, u16 height)
return tcm;
error:
kfree(tcm);
return NULL;
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment