testdisplay: remove wrong return statement
authorPaulo Zanoni <paulo.r.zanoni@intel.com>
Thu, 15 Sep 2011 18:16:33 +0000 (15:16 -0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 15 Sep 2011 17:38:29 +0000 (19:38 +0200)
It seems that the kernel patches required by the TEST_PLANES feature are
still not upstream, so I didn't test this patch.

Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
tests/testdisplay.c

index 69dbf42..d650537 100644 (file)
@@ -677,7 +677,6 @@ connector_find_plane(struct connector *c)
                drmModeFreePlane(ovr);
        }
 
-       return 4;
        return id;
 }