Skip to content

Commit

Permalink
drm/exynos/fimd: don't initialize 'ret' variable in fimd_probe()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Gustavo Padovan authored and Inki Dae committed Jan 25, 2015
1 parent 8837dee commit fe42cfb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/exynos/exynos_drm_fimd.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit fe42cfb

Please sign in to comment.