Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 344647
b: refs/heads/master
c: 4ee9a53
h: refs/heads/master
i:
  344645: a4edca1
  344643: 26cd47b
  344639: e4669a8
v: v3
  • Loading branch information
Matthias Brugger authored and Tomi Valkeinen committed Nov 19, 2012
1 parent 09166cd commit 2c6ef84
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: dcca5cf07bcd355e4e1bd51609efe7b7d5d0a7b8
refs/heads/master: 4ee9a5377b7888fae8aa6064e4cc8d0fd32871a2
4 changes: 0 additions & 4 deletions trunk/drivers/video/omap2/omapfb/omapfb-main.c
Original file line number Diff line number Diff line change
Expand Up @@ -2445,7 +2445,6 @@ static int __init omapfb_probe(struct platform_device *pdev)
fbdev->dev = &pdev->dev;
platform_set_drvdata(pdev, fbdev);

r = 0;
fbdev->num_displays = 0;
dssdev = NULL;
for_each_dss_dev(dssdev) {
Expand All @@ -2468,9 +2467,6 @@ static int __init omapfb_probe(struct platform_device *pdev)
d->update_mode = OMAPFB_AUTO_UPDATE;
}

if (r)
goto cleanup;

if (fbdev->num_displays == 0) {
dev_err(&pdev->dev, "no displays\n");
r = -EINVAL;
Expand Down

0 comments on commit 2c6ef84

Please sign in to comment.