diff options
author | Zheng Yongjun <zhengyongjun3@huawei.com> | 2020-12-14 16:46:28 +0300 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2020-12-15 18:19:54 +0300 |
commit | 010dbfbe7bad50f942fdc97a11ad40ba306f9707 (patch) | |
tree | 925d54b5d285acac3064853eebb3c9e884b79fd1 /drivers/gpu/drm/omapdrm | |
parent | dfd2edccfd22daab8063bcdcf00da21e71afe817 (diff) | |
download | linux-010dbfbe7bad50f942fdc97a11ad40ba306f9707.tar.xz |
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
Diffstat (limited to 'drivers/gpu/drm/omapdrm')
-rw-r--r-- | drivers/gpu/drm/omapdrm/tcm-sita.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/omapdrm/tcm-sita.c b/drivers/gpu/drm/omapdrm/tcm-sita.c index 9e1acbd2c7aa..8338dc665301 100644 --- 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; } |