[Intel-gfx] [gpu-tools 5/7] testdisplay: remove wrong return statement

przanoni at gmail.com przanoni at gmail.com
Thu Sep 15 20:16:33 CEST 2011


From: Paulo Zanoni <paulo.r.zanoni at intel.com>

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 at intel.com>
---
 tests/testdisplay.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/tests/testdisplay.c b/tests/testdisplay.c
index 69dbf42..d650537 100644
--- a/tests/testdisplay.c
+++ b/tests/testdisplay.c
@@ -677,7 +677,6 @@ connector_find_plane(struct connector *c)
 		drmModeFreePlane(ovr);
 	}
 
-	return 4;
 	return id;
 }
 
-- 
1.7.4.1




More information about the Intel-gfx mailing list