[PATCH libdrm 2/4] exynos_fimg2d_test: remove unused variables

Emil Velikov emil.l.velikov at gmail.com
Mon Feb 23 06:56:33 PST 2015


Cc: Inki Dae <inki.dae at samsung.com>
Cc: Kyungmin Park <kyungmin.park at samsung.com>
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
---
 tests/exynos/exynos_fimg2d_test.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/tests/exynos/exynos_fimg2d_test.c b/tests/exynos/exynos_fimg2d_test.c
index f141964..17e8e53 100644
--- a/tests/exynos/exynos_fimg2d_test.c
+++ b/tests/exynos/exynos_fimg2d_test.c
@@ -269,7 +269,6 @@ static int g2d_copy_test(struct exynos_device *dev, struct exynos_bo *src,
 {
 	struct g2d_context *ctx;
 	struct g2d_image src_img, dst_img;
-	unsigned int count;
 	unsigned int src_x, src_y, dst_x, dst_y, img_w, img_h;
 	unsigned long userptr, size;
 	int ret;
@@ -353,7 +352,6 @@ static int g2d_copy_with_scale_test(struct exynos_device *dev,
 {
 	struct g2d_context *ctx;
 	struct g2d_image src_img, dst_img;
-	unsigned int count;
 	unsigned int src_x, src_y, dst_x, dst_y, img_w, img_h;
 	unsigned long userptr, size;
 	int ret;
@@ -442,7 +440,6 @@ static int g2d_blend_test(struct exynos_device *dev,
 {
 	struct g2d_context *ctx;
 	struct g2d_image src_img, dst_img;
-	unsigned int count;
 	unsigned int src_x, src_y, dst_x, dst_y, img_w, img_h;
 	unsigned long userptr, size;
 	int ret;
@@ -557,7 +554,6 @@ int main(int argc, char **argv)
 	struct exynos_device *dev;
 	struct exynos_bo *bo, *src;
 	struct connector con;
-	char *modeset = NULL;
 	unsigned int fb_id;
 	uint32_t handles[4] = {0}, pitches[4] = {0}, offsets[4] = {0};
 	drmModeRes *resources;
@@ -573,7 +569,6 @@ int main(int argc, char **argv)
 	while ((c = getopt(argc, argv, optstr)) != -1) {
 		switch (c) {
 		case 's':
-			modeset = strdup(optarg);
 			con.crtc = -1;
 			if (sscanf(optarg, "%d:0x%64s",
 						&con.id,
-- 
2.3.0



More information about the dri-devel mailing list