exynos_fimg2d_test: remove unused variables

Cc: Inki Dae <inki.dae@samsung.com>
Cc: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Jan Vesely <jan.vesely@rutgers.edu>
main
Emil Velikov 2015-02-23 14:08:24 +00:00
parent bb6cc7c972
commit 0b3e540aa4
1 changed files with 0 additions and 5 deletions

View File

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