From patchwork Mon Feb 23 14:56:33 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Emil Velikov X-Patchwork-Id: 5865751 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 542AEBF440 for ; Mon, 23 Feb 2015 14:53:46 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 8A2942060E for ; Mon, 23 Feb 2015 14:53:45 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id B76C720567 for ; Mon, 23 Feb 2015 14:53:44 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id C15616E41B; Mon, 23 Feb 2015 06:53:43 -0800 (PST) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-we0-f171.google.com (mail-we0-f171.google.com [74.125.82.171]) by gabe.freedesktop.org (Postfix) with ESMTP id 6494D6E41E for ; Mon, 23 Feb 2015 06:53:42 -0800 (PST) Received: by wesx3 with SMTP id x3so18805399wes.7 for ; Mon, 23 Feb 2015 06:53:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=ewyMeuyGYwIhWU5jpRhuVQ8AaL/MlsdMkx842yM/tc8=; b=tqQBLjVqi9GQgZIwDATTejgVnamWrVFKij6PQyQpHAEv1A7OPC0c+v+OT1OdCdpTZ9 TsKPOAQRBmBH0DN41xoeIrAB5MM4Ceu1LOJuposgeoeygfiVPiEPXnsZjqJraWXJYxq2 9FK71qhj0ka4H2hTVNsSS+Z7i6qNMoIxp51fznUDbqd1o3JOltp/ccdKo4mHtsk9TQJG 5DyCzndu7X4d6R5ylciBVhCjngVratl8WiflvU1KSjq+S63clCV6oQX5xnLVP6TJ52lK CJKBvPKtMcvGHPm0rfj0r0vl+0NbWt+XsLxVUMFmWNeXH5/Dq809TowW6II9fZxcFH1A CjXw== X-Received: by 10.194.177.195 with SMTP id cs3mr22500686wjc.141.1424703221379; Mon, 23 Feb 2015 06:53:41 -0800 (PST) Received: from arch-x220.localdomain (cpc12-croy20-2-0-cust52.croy.cable.virginm.net. [82.44.54.53]) by mx.google.com with ESMTPSA id jg3sm16240799wid.0.2015.02.23.06.53.40 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 23 Feb 2015 06:53:40 -0800 (PST) From: Emil Velikov To: dri-devel@lists.freedesktop.org Subject: [PATCH libdrm 2/4] exynos_fimg2d_test: remove unused variables Date: Mon, 23 Feb 2015 14:56:33 +0000 Message-Id: <1424703395-7596-3-git-send-email-emil.l.velikov@gmail.com> X-Mailer: git-send-email 2.3.0 In-Reply-To: <1424703395-7596-1-git-send-email-emil.l.velikov@gmail.com> References: <1424703395-7596-1-git-send-email-emil.l.velikov@gmail.com> Cc: Kyungmin Park , emil.l.velikov@gmail.com X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Cc: Inki Dae Cc: Kyungmin Park Signed-off-by: Emil Velikov --- 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,