summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/exynos
diff options
context:
space:
mode:
authorGustavo Padovan <gustavo.padovan@collabora.co.uk>2014-11-03 23:56:57 +0300
committerInki Dae <daeinki@gmail.com>2015-01-25 15:28:03 +0300
commitfe42cfb4908602f2fb6db7b849e170d2fa26fea1 (patch)
tree80cb60a7172cc11a96326b7237fe750b482b91ab /drivers/gpu/drm/exynos
parent8837deeab462a30d5a760fa1ae7c29242d985700 (diff)
downloadlinux-fe42cfb4908602f2fb6db7b849e170d2fa26fea1.tar.xz
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 <gustavo.padovan@collabora.co.uk> Signed-off-by: Inki Dae <inki.dae@samsung.com>
Diffstat (limited to 'drivers/gpu/drm/exynos')
-rw-r--r--drivers/gpu/drm/exynos/exynos_drm_fimd.c2
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;