diff options
author | Gustavo Padovan <[email protected]> | 2014-11-03 18:56:57 -0200 |
---|---|---|
committer | Inki Dae <[email protected]> | 2015-01-25 21:28:03 +0900 |
commit | fe42cfb4908602f2fb6db7b849e170d2fa26fea1 (patch) | |
tree | 80cb60a7172cc11a96326b7237fe750b482b91ab | |
parent | 8837deeab462a30d5a760fa1ae7c29242d985700 (diff) |
drm/exynos/fimd: don't initialize 'ret' variable in fimd_probe()
We set it in the beginning of the function, thus no need to set it at
initialization.
Signed-off-by: Gustavo Padovan <[email protected]>
Signed-off-by: Inki Dae <[email protected]>
-rw-r--r-- | drivers/gpu/drm/exynos/exynos_drm_fimd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/exynos/exynos_drm_fimd.c b/drivers/gpu/drm/exynos/exynos_drm_fimd.c index abd2ca912bb2..863e98f48d2c 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_fimd.c +++ b/drivers/gpu/drm/exynos/exynos_drm_fimd.c @@ -1108,7 +1108,7 @@ static int fimd_probe(struct platform_device *pdev) struct fimd_context *ctx; struct device_node *i80_if_timings; struct resource *res; - int ret = -EINVAL; + int ret; if (!dev->of_node) return -ENODEV; |