diff options
author | Seung-Woo Kim <sw0312.kim@samsung.com> | 2013-05-22 16:14:16 +0400 |
---|---|---|
committer | Inki Dae <inki.dae@samsung.com> | 2013-05-23 14:48:38 +0400 |
commit | 7a1b00e0728ff20d6c8e2d6335da05d13d03ef74 (patch) | |
tree | 158988fc22e639d970886ce91fd0ac53001adc3d /drivers/gpu/drm/exynos/exynos_drm_gsc.c | |
parent | a3ad6976fe5a306fc6cb9e423ac0ef2f06f79189 (diff) | |
download | linux-7a1b00e0728ff20d6c8e2d6335da05d13d03ef74.tar.xz |
drm/exynos: remove unnecessary devm_kfree
devm_kfree does not need for fail case of probe function and for
remove function.
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Diffstat (limited to 'drivers/gpu/drm/exynos/exynos_drm_gsc.c')
-rw-r--r-- | drivers/gpu/drm/exynos/exynos_drm_gsc.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/exynos/exynos_drm_gsc.c b/drivers/gpu/drm/exynos/exynos_drm_gsc.c index 487595ac51a8..98032d6c62c3 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_gsc.c +++ b/drivers/gpu/drm/exynos/exynos_drm_gsc.c @@ -1748,7 +1748,6 @@ static int gsc_probe(struct platform_device *pdev) return 0; err_ippdrv_register: - devm_kfree(dev, ippdrv->prop_list); pm_runtime_disable(dev); err_get_irq: free_irq(ctx->irq, ctx); @@ -1761,7 +1760,6 @@ static int gsc_remove(struct platform_device *pdev) struct gsc_context *ctx = get_gsc_context(dev); struct exynos_drm_ippdrv *ippdrv = &ctx->ippdrv; - devm_kfree(dev, ippdrv->prop_list); exynos_drm_ippdrv_unregister(ippdrv); mutex_destroy(&ctx->lock); |